OKLCH to HEX: #DEB887
Also known as: CSS burlywood
Result
oklch(0.80454 0.07786 73.417) → #DEB887
Values are shown at full precision, so converting back gives exactly #deb887. 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. input
oklch(0.80454 0.07786 73.417)
2. OKLCH → Oklab
a = C·cos H = 0.02222 b = C·sin H = 0.07462
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.829451 m′ = L − 0.1056·a − 0.0639·b = 0.797429 s′ = L − 0.0895·a − 1.2915·b = 0.706179
4. cube
l = 0.829451³ = 0.570653 m = 0.797429³ = 0.507080 s = 0.706179³ = 0.352163
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.730468 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.479318 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.242275
6. linear → sRGB, × 255
R = 0.87059 × 255 = 222.00 → 222 G = 0.72157 × 255 = 184.00 → 184 B = 0.52941 × 255 = 135.00 → 135
7. RGB → HEX
#DEB887
All formats
- HEX
- #deb887
- RGB
- rgb(222 184 135)
- RGB (legacy)
- rgb(222, 184, 135)
- HSL
- hsl(33.79 56.86% 70.00%) → hsl(34 57% 70%)
- HWB
- hwb(34 53% 13%)
- OKLCH
- oklch(0.805 0.078 73.4) · oklch(80.5% 0.078 73.4)
- OKLab
- oklab(0.805 0.022 0.075)
- Lab (D50)
- lab(77.33 9.28 30.32)
- LCH (D50)
- lch(77.33 31.71 72.98)
- Display P3
- color(display-p3 0.8466 0.7272 0.5543)
- Linear sRGB
- color(srgb-linear 0.7305 0.4793 0.2423)
Gamut: sRGB and Display P3
#DEB887 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.168 and Display P3 reaches 0.196; this color uses 46% of the sRGB chroma available.
CSS snippets
.element {
color: #deb887;
color: rgb(222 184 135);
color: hsl(34 57% 70%);
color: oklch(0.805 0.078 73.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.805 0.078 73.4);
}
/* arbitrary values */
class="text-[#deb887] bg-[oklch(0.805_0.078_73.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8466 0.7272 0.5543); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #deb887 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- tan#D2B48C
- v3 orange-300#FDBA74
- orange-300#FFB86A
- sandybrown#F4A460
- darkkhaki#BDB76B
- lightsalmon#FFA07A
- silver#C0C0C0
- darksalmon#E9967A
Lighter and darker, same hue and chroma
- #F2CB9A · oklch(0.865 0.078 73.4) · ΔL +0.06
- #CAA575 · oklch(0.745 0.078 73.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?