HEX to RGB: #00D492
Also known as: Tailwind emerald-400
Result
#00D492 → rgb(0 212 146)
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. HEX → pairs
#00D492 → 00 | D4 | 92
2. base 16 → base 10
R = 00₁₆ = 0×16 + 0 = 0 G = D4₁₆ = 13×16 + 4 = 212 B = 92₁₆ = 9×16 + 2 = 146
3. RGB
rgb(0 212 146)
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?