HEX to HSL: #E8E8E3
Also known as: Tailwind olive-200
Result
#E8E8E3 → hsl(60 10% 90%)
Values are shown at full precision, so converting back gives exactly #e8e8e3. 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.9098 G = 0.9098 B = 0.8902
2. max, min, Δ
max = 0.9098 min = 0.8902 Δ = max − min = 0.0196
3. L
L = (max + min) / 2 = 0.9000 = 90.00%
4. S
S = Δ / (1 − |2L − 1|) = 0.0980 = 9.80%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9098 − 0.8902) / 0.0196) mod 6) = 60.00°
6. HSL
hsl(60.00 9.80% 90.00%)
All formats
- HEX
- #e8e8e3
- RGB
- rgb(232 232 227)
- RGB (legacy)
- rgb(232, 232, 227)
- HSL
- hsl(60.00 9.80% 90.00%) → hsl(60 10% 90%)
- HWB
- hwb(60 89% 9%)
- OKLCH
- oklch(0.930 0.007 106.5) · oklch(93.0% 0.007 106.5)
- OKLab
- oklab(0.930 -0.002 0.006)
- Lab (D50)
- lab(91.89 -0.66 2.44)
- LCH (D50)
- lch(91.89 2.53 105.08)
- Display P3
- color(display-p3 0.9098 0.9098 0.8920)
- Linear sRGB
- color(srgb-linear 0.8070 0.8070 0.7682)
Gamut: sRGB and Display P3
#E8E8E3 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.199 and Display P3 reaches 0.231; this color uses 3% of the sRGB chroma available.
CSS snippets
.element {
color: #e8e8e3;
color: rgb(232 232 227);
color: hsl(60 10% 90%);
color: oklch(0.930 0.007 106.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.930 0.007 106.5);
}
/* arbitrary values */
class="text-[#e8e8e3] bg-[oklch(0.930_0.007_106.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9098 0.9098 0.8920); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e8e8e3 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- stone-200#E7E5E4
- mist-200#E3E7E8
- neutral-200#E5E5E5
- taupe-200#E8E4E3
- gray-200#E5E7EB
- mauve-200#E7E4E7
- zinc-200#E4E4E7
- slate-200#E2E8F0
Lighter and darker, same hue and chroma
- #FCFCF7 · oklch(0.990 0.007 106.5) · ΔL +0.06
- #D4D4CF · oklch(0.870 0.007 106.5) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?