HSL to HEX: #059669
Also known as: Tailwind v3 emerald-600
Result
hsl(161.38 93.55% 30.39%) → #059669
Values are shown at full precision, so converting back gives exactly #059669. 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 = 161.38°, S = 93.55%, L = 30.39%
2. C
C = (1 − |2L − 1|) × S = 0.56860
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.39214 (H / 60° = 2.6897, sector 2)
4. m
m = L − C / 2 = 0.01960
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.56860, 0.39214) R = round((0.00000 + 0.01960) × 255) = 5 G = round((0.56860 + 0.01960) × 255) = 150 B = round((0.39214 + 0.01960) × 255) = 105
6. RGB → HEX
#059669
All formats
- HEX
- #059669
- RGB
- rgb(5 150 105)
- RGB (legacy)
- rgb(5, 150, 105)
- HSL
- hsl(161.38 93.55% 30.39%) → hsl(161 94% 30%)
- HWB
- hwb(161 2% 41%)
- OKLCH
- oklch(0.596 0.127 163.2) · oklch(59.6% 0.127 163.2)
- OKLab
- oklab(0.596 -0.122 0.037)
- Lab (D50)
- lab(54.82 -43.50 13.94)
- LCH (D50)
- lch(54.82 45.68 162.23)
- Display P3
- color(display-p3 0.2610 0.5793 0.4246)
- Linear sRGB
- color(srgb-linear 0.0015 0.3050 0.1413)
Gamut: sRGB and Display P3
#059669 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.128 and Display P3 reaches 0.176; this color uses 99% of the sRGB chroma available.
CSS snippets
.element {
color: #059669;
color: rgb(5 150 105);
color: hsl(161 94% 30%);
color: oklch(0.596 0.127 163.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.596 0.127 163.2);
}
/* arbitrary values */
class="text-[#059669] bg-[oklch(0.596_0.127_163.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2610 0.5793 0.4246); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #059669 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- emerald-600#009966
- seagreen#2E8B57
- teal-600#009689
- v3 teal-600#0D9488
- v3 green-600#16A34A
- darkcyan#008B8B
- v3 green-700#15803D
- forestgreen#228B22
Lighter and darker, same hue and chroma
- #2DA97B · oklch(0.656 0.127 163.2) · ΔL +0.06
- #008458 · oklch(0.536 0.127 163.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?