HEX to HSL: #00D492
Also known as: Tailwind emerald-400
Result
#00D492 → hsl(161 100% 42%)
Values are shown at full precision, so converting back gives exactly #00d492. 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.0000 G = 0.8314 B = 0.5725
2. max, min, Δ
max = 0.8314 min = 0.0000 Δ = max − min = 0.8314
3. L
L = (max + min) / 2 = 0.4157 = 41.57%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.5725 − 0.0000) / 0.8314 + 2) = 161.32°
6. HSL
hsl(161.32 100.00% 41.57%)
All formats
- HEX
- #00d492
- RGB
- rgb(0 212 146)
- RGB (legacy)
- rgb(0, 212, 146)
- HSL
- hsl(161.32 100.00% 41.57%) → hsl(161 100% 42%)
- HWB
- hwb(161 0% 17%)
- OKLCH
- oklch(0.769 0.169 161.9) · oklch(76.9% 0.169 161.9)
- OKLab
- oklab(0.769 -0.160 0.052)
- Lab (D50)
- lab(75.41 -57.24 19.93)
- LCH (D50)
- lch(75.41 60.61 160.80)
- Display P3
- color(display-p3 0.3763 0.8190 0.5921)
- Linear sRGB
- color(srgb-linear 0.0000 0.6584 0.2874)
Gamut: sRGB and Display P3
#00D492 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.169 and Display P3 reaches 0.232; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #00d492;
color: rgb(0 212 146);
color: hsl(161 100% 42%);
color: oklch(0.769 0.169 161.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.769 0.169 161.9);
}
/* arbitrary values */
class="text-[#00d492] bg-[oklch(0.769_0.169_161.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3763 0.8190 0.5921); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00d492 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 emerald-400#34D399
- v3 green-400#4ADE80
- green-400#05DF72
- teal-400#00D5BE
- mediumaquamarine#66CDAA
- v3 green-500#22C55E
- v3 teal-400#2DD4BF
- emerald-500#00BC7D
Lighter and darker, same hue and chroma
- #38E8A5 · oklch(0.829 0.169 161.9) · ΔL +0.06
- #00C080 · oklch(0.709 0.169 161.9) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?