HEX to HSL: #F5F5F4
Also known as: Tailwind stone-100, Tailwind v3 stone-100
Result
#F5F5F4 → hsl(60 5% 96%)
Values are shown at full precision, so converting back gives exactly #f5f5f4. 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.9608 G = 0.9608 B = 0.9569
2. max, min, Δ
max = 0.9608 min = 0.9569 Δ = max − min = 0.0039
3. L
L = (max + min) / 2 = 0.9588 = 95.88%
4. S
S = Δ / (1 − |2L − 1|) = 0.0476 = 4.76%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9608 − 0.9569) / 0.0039) mod 6) = 60.00°
6. HSL
hsl(60.00 4.76% 95.88%)
All formats
- HEX
- #f5f5f4
- RGB
- rgb(245 245 244)
- RGB (legacy)
- rgb(245, 245, 244)
- HSL
- hsl(60.00 4.76% 95.88%) → hsl(60 5% 96%)
- HWB
- hwb(60 96% 4%)
- OKLCH
- oklch(0.970 0.001 106.4) · oklch(97.0% 0.001 106.4)
- OKLab
- oklab(0.970 0.000 0.001)
- Lab (D50)
- lab(96.52 -0.13 0.48)
- LCH (D50)
- lch(96.52 0.50 105.22)
- Display P3
- color(display-p3 0.9608 0.9608 0.9572)
- Linear sRGB
- color(srgb-linear 0.9131 0.9131 0.9047)
Gamut: sRGB and Display P3
#F5F5F4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.122 and Display P3 reaches 0.130; this color uses 1% of the sRGB chroma available.
CSS snippets
.element {
color: #f5f5f4;
color: rgb(245 245 244);
color: hsl(60 5% 96%);
color: oklch(0.970 0.001 106.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.970 0.001 106.4);
}
/* arbitrary values */
class="text-[#f5f5f4] bg-[oklch(0.970_0.001_106.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9608 0.9608 0.9572); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f5f5f4 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- neutral-100#F5F5F5
- zinc-100#F4F4F5
- gray-100#F3F4F6
- olive-100#F4F4F0
- mist-100#F1F3F3
- slate-100#F1F5F9
- taupe-100#F3F1F1
- mauve-100#F3F1F3
Lighter and darker, same hue and chroma
- #FFFFFE · oklch(1.000 0.001 106.4) · ΔL +0.06
- #E1E1E0 · oklch(0.910 0.001 106.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?