HEX to RGB: #5EE9B5
Also known as: Tailwind emerald-300
Result
#5EE9B5 → rgb(94 233 181)
Values are shown at full precision, so converting back gives exactly #5ee9b5. 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
#5EE9B5 → 5E | E9 | B5
2. base 16 → base 10
R = 5E₁₆ = 5×16 + 14 = 94 G = E9₁₆ = 14×16 + 9 = 233 B = B5₁₆ = 11×16 + 5 = 181
3. RGB
rgb(94 233 181)
All formats
- HEX
- #5ee9b5
- RGB
- rgb(94 233 181)
- RGB (legacy)
- rgb(94, 233, 181)
- HSL
- hsl(157.55 75.96% 64.12%) → hsl(158 76% 64%)
- HWB
- hwb(158 37% 9%)
- OKLCH
- oklch(0.844 0.143 165.2) · oklch(84.4% 0.143 165.2)
- OKLab
- oklab(0.844 -0.138 0.036)
- Lab (D50)
- lab(83.81 -48.60 13.60)
- LCH (D50)
- lch(83.81 50.47 164.37)
- Display P3
- color(display-p3 0.5238 0.9021 0.7231)
- Linear sRGB
- color(srgb-linear 0.1119 0.8148 0.4621)
Gamut: sRGB and Display P3
#5EE9B5 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.177 and Display P3 reaches 0.242; this color uses 81% of the sRGB chroma available.
CSS snippets
.element {
color: #5ee9b5;
color: rgb(94 233 181);
color: hsl(158 76% 64%);
color: oklch(0.844 0.143 165.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.844 0.143 165.2);
}
/* arbitrary values */
class="text-[#5ee9b5] bg-[oklch(0.844_0.143_165.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5238 0.9021 0.7231); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #5ee9b5 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 emerald-300#6EE7B7
- v3 green-300#86EFAC
- green-300#7BF1A8
- teal-300#46ECD5
- v3 teal-300#5EEAD4
- turquoise#40E0D0
- lightgreen#90EE90
- v3 green-400#4ADE80
Lighter and darker, same hue and chroma
- #74FDC8 · oklch(0.904 0.143 165.2) · ΔL +0.06
- #46D5A2 · oklch(0.784 0.143 165.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?