HSL to HEX: #032E15
Also known as: Tailwind green-950
Result
hsl(145.12 87.76% 9.61%) → #032E15
Values are shown at full precision, so converting back gives exactly #032e15. 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 = 145.12°, S = 87.76%, L = 9.61%
2. C
C = (1 − |2L − 1|) × S = 0.16867
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.07062 (H / 60° = 2.4187, sector 2)
4. m
m = L − C / 2 = 0.01176
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.16867, 0.07062) R = round((0.00000 + 0.01176) × 255) = 3 G = round((0.16867 + 0.01176) × 255) = 46 B = round((0.07062 + 0.01176) × 255) = 21
6. RGB → HEX
#032E15
All formats
- HEX
- #032e15
- RGB
- rgb(3 46 21)
- RGB (legacy)
- rgb(3, 46, 21)
- HSL
- hsl(145.12 87.76% 9.61%) → hsl(145 88% 10%)
- HWB
- hwb(145 1% 82%)
- OKLCH
- oklch(0.265 0.065 152.8) · oklch(26.5% 0.065 152.8)
- OKLab
- oklab(0.265 -0.058 0.030)
- Lab (D50)
- lab(15.61 -20.43 11.82)
- LCH (D50)
- lch(15.61 23.60 149.93)
- Display P3
- color(display-p3 0.0666 0.1772 0.0920)
- Linear sRGB
- color(srgb-linear 0.0009 0.0273 0.0075)
Gamut: sRGB and Display P3
#032E15 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.069 and Display P3 reaches 0.095; this color uses 95% of the sRGB chroma available.
CSS snippets
.element {
color: #032e15;
color: rgb(3 46 21);
color: hsl(145 88% 10%);
color: oklch(0.265 0.065 152.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.265 0.065 152.8);
}
/* arbitrary values */
class="text-[#032e15] bg-[oklch(0.265_0.065_152.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.0666 0.1772 0.0920); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #032e15 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 green-950#052E16
- emerald-950#002C22
- v3 emerald-950#022C22
- v3 lime-950#1A2E05
- lime-950#192E03
- teal-950#022F2E
- v3 teal-950#042F2E
- olive-800#2B2B22
Lighter and darker, same hue and chroma
- #153E24 · oklch(0.325 0.065 152.8) · ΔL +0.06
- #001F07 · oklch(0.205 0.065 152.8) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?