HEX to RGB: #00BC7D
Also known as: Tailwind emerald-500
Result
#00BC7D → rgb(0 188 125)
Values are shown at full precision, so converting back gives exactly #00bc7d. 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
#00BC7D → 00 | BC | 7D
2. base 16 → base 10
R = 00₁₆ = 0×16 + 0 = 0 G = BC₁₆ = 11×16 + 12 = 188 B = 7D₁₆ = 7×16 + 13 = 125
3. RGB
rgb(0 188 125)
All formats
- HEX
- #00bc7d
- RGB
- rgb(0 188 125)
- RGB (legacy)
- rgb(0, 188, 125)
- HSL
- hsl(159.89 100.00% 36.86%) → hsl(160 100% 37%)
- HWB
- hwb(160 0% 26%)
- OKLCH
- oklch(0.702 0.158 160.4) · oklch(70.2% 0.158 160.4)
- OKLab
- oklab(0.702 -0.149 0.053)
- Lab (D50)
- lab(67.50 -52.99 20.25)
- LCH (D50)
- lch(67.50 56.72 159.08)
- Display P3
- color(display-p3 0.3305 0.7262 0.5097)
- Linear sRGB
- color(srgb-linear 0.0000 0.5029 0.2051)
Gamut: sRGB and Display P3
#00BC7D is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.158 and Display P3 reaches 0.217; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #00bc7d;
color: rgb(0 188 125);
color: hsl(160 100% 37%);
color: oklch(0.702 0.158 160.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.702 0.158 160.4);
}
/* arbitrary values */
class="text-[#00bc7d] bg-[oklch(0.702_0.158_160.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3305 0.7262 0.5097); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00bc7d calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 emerald-500#10B981
- mediumseagreen#3CB371
- v3 green-500#22C55E
- teal-500#00BBA7
- v3 teal-500#14B8A6
- emerald-400#00D492
- v3 emerald-400#34D399
- green-500#00C950
Lighter and darker, same hue and chroma
- #33D08F · oklch(0.762 0.158 160.4) · ΔL +0.06
- #00A96B · oklch(0.642 0.158 160.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?