HSL to HEX: #474739
Also known as: Tailwind olive-700
Result
hsl(60.00 10.94% 25.10%) → #474739
Values are shown at full precision, so converting back gives exactly #474739. 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
H = 60.00°, S = 10.94%, L = 25.10%
2. C
C = (1 − |2L − 1|) × S = 0.05492
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.05492 (H / 60° = 1.0000, sector 1)
4. m
m = L − C / 2 = 0.22354
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.05492, 0.05492, 0.00000) R = round((0.05492 + 0.22354) × 255) = 71 G = round((0.05492 + 0.22354) × 255) = 71 B = round((0.00000 + 0.22354) × 255) = 57
6. RGB → HEX
#474739
All formats
- HEX
- #474739
- RGB
- rgb(71 71 57)
- RGB (legacy)
- rgb(71, 71, 57)
- HSL
- hsl(60.00 10.94% 25.10%) → hsl(60 11% 25%)
- HWB
- hwb(60 22% 72%)
- OKLCH
- oklch(0.394 0.023 107.4) · oklch(39.4% 0.023 107.4)
- OKLab
- oklab(0.394 -0.007 0.022)
- Lab (D50)
- lab(29.83 -2.09 8.47)
- LCH (D50)
- lch(29.83 8.73 103.88)
- Display P3
- color(display-p3 0.2784 0.2784 0.2291)
- Linear sRGB
- color(srgb-linear 0.0630 0.0630 0.0409)
Gamut: sRGB and Display P3
#474739 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.085 and Display P3 reaches 0.098; this color uses 27% of the sRGB chroma available.
CSS snippets
.element {
color: #474739;
color: rgb(71 71 57);
color: hsl(60 11% 25%);
color: oklch(0.394 0.023 107.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.394 0.023 107.4);
}
/* arbitrary values */
class="text-[#474739] bg-[oklch(0.394_0.023_107.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2784 0.2784 0.2291); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #474739 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- stone-700#44403B
- v3 stone-700#44403C
- neutral-700#404040
- mist-700#394447
- taupe-700#473C39
- zinc-700#3F3F46
- darkslategray#2F4F4F
- taupe-600#5B4F4B
Lighter and darker, same hue and chroma
- #575749 · oklch(0.454 0.023 107.4) · ΔL +0.06
- #37372A · oklch(0.334 0.023 107.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?