HEX to HSL: #EEE8AA
Also known as: CSS palegoldenrod
Result
#EEE8AA → hsl(55 67% 80%)
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. RGB ÷ 255
R = 0.9333 G = 0.9098 B = 0.6667
2. max, min, Δ
max = 0.9333 min = 0.6667 Δ = max − min = 0.2667
3. L
L = (max + min) / 2 = 0.8000 = 80.00%
4. S
S = Δ / (1 − |2L − 1|) = 0.6667 = 66.67%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9098 − 0.6667) / 0.2667) mod 6) = 54.71°
6. HSL
hsl(54.71 66.67% 80.00%)
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?