HEX to RGB: #854D0E
Also known as: Tailwind v3 yellow-800
Result
#854D0E → rgb(133 77 14)
Values are shown at full precision, so converting back gives exactly #854d0e. The rounded form is what you normally paste into CSS.
Step-by-step math
Every number below is computed from the input, nothing is looked up.
1. HEX → pairs
#854D0E → 85 | 4D | 0E
2. base 16 → base 10
R = 85₁₆ = 8×16 + 5 = 133 G = 4D₁₆ = 4×16 + 13 = 77 B = 0E₁₆ = 0×16 + 14 = 14
3. RGB
rgb(133 77 14)
All formats
- HEX
- #854d0e
- RGB
- rgb(133 77 14)
- RGB (legacy)
- rgb(133, 77, 14)
- HSL
- hsl(31.76 80.95% 28.82%) → hsl(32 81% 29%)
- HWB
- hwb(32 5% 48%)
- OKLCH
- oklch(0.476 0.103 61.9) · oklch(47.6% 0.103 61.9)
- OKLab
- oklab(0.476 0.049 0.091)
- Lab (D50)
- lab(38.84 20.98 43.64)
- LCH (D50)
- lch(38.84 48.42 64.32)
- Display P3
- color(display-p3 0.4913 0.3124 0.1198)
- Linear sRGB
- color(srgb-linear 0.2346 0.0742 0.0044)
Gamut: sRGB and Display P3
#854D0E is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.110 and Display P3 reaches 0.125; this color uses 94% of the sRGB chroma available.
CSS snippets
.element {
color: #854d0e;
color: rgb(133 77 14);
color: hsl(32 81% 29%);
color: oklch(0.476 0.103 61.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.476 0.103 61.9);
}
/* arbitrary values */
class="text-[#854d0e] bg-[oklch(0.476_0.103_61.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4913 0.3124 0.1198); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #854d0e calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- yellow-800#894B00
- saddlebrown#8B4513
- v3 amber-800#92400E
- amber-800#973C00
- yellow-900#733E0A
- v3 yellow-900#713F12
- sienna#A0522D
- v3 orange-800#9A3412
Lighter and darker, same hue and chroma
- #985E25 · oklch(0.536 0.103 61.9) · ΔL +0.06
- #733C00 · oklch(0.416 0.103 61.9) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?