OKLCH to HEX: #EEE8AA
Also known as: CSS palegoldenrod
Result
oklch(0.92105 0.07981 103.183) → #EEE8AA
Values are shown at full precision, so converting back gives exactly #eee8aa. 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.92105 0.07981 103.183)
2. OKLCH → Oklab
a = C·cos H = -0.01820 b = C·sin H = 0.07771
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.930605 m′ = L − 0.1056·a − 0.0639·b = 0.918009 s′ = L − 0.0895·a − 1.2915·b = 0.822322
4. cube
l = 0.930605³ = 0.805929 m = 0.918009³ = 0.773645 s = 0.822322³ = 0.556064
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.855005 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.806958 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.401966
6. linear → sRGB, × 255
R = 0.93334 × 255 = 238.00 → 238 G = 0.90981 × 255 = 232.00 → 232 B = 0.66666 × 255 = 170.00 → 170
7. RGB → HEX
#EEE8AA
All formats
- HEX
- #eee8aa
- RGB
- rgb(238 232 170)
- RGB (legacy)
- rgb(238, 232, 170)
- HSL
- hsl(54.71 66.67% 80.00%) → hsl(55 67% 80%)
- HWB
- hwb(55 67% 7%)
- OKLCH
- oklch(0.921 0.080 103.2) · oklch(92.1% 0.080 103.2)
- OKLab
- oklab(0.921 -0.018 0.078)
- Lab (D50)
- lab(91.37 -4.82 31.04)
- LCH (D50)
- lch(91.37 31.42 98.82)
- Display P3
- color(display-p3 0.9292 0.9106 0.6937)
- Linear sRGB
- color(srgb-linear 0.8550 0.8070 0.4020)
Gamut: sRGB and Display P3
#EEE8AA is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.194 and Display P3 reaches 0.225; this color uses 41% of the sRGB chroma available.
CSS snippets
.element {
color: #eee8aa;
color: rgb(238 232 170);
color: hsl(55 67% 80%);
color: oklch(0.921 0.080 103.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.921 0.080 103.2);
}
/* arbitrary values */
class="text-[#eee8aa] bg-[oklch(0.921_0.080_103.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9292 0.9106 0.6937); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #eee8aa calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- moccasin#FFE4B5
- wheat#F5DEB3
- khaki#F0E68C
- navajowhite#FFDEAD
- v3 amber-200#FDE68A
- amber-200#FEE685
- bisque#FFE4C4
- amber-100#FEF3C6
Lighter and darker, same hue and chroma
- #FFFCBD · oklch(0.981 0.080 103.2) · ΔL +0.06
- #DAD497 · oklch(0.861 0.080 103.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?