HEX to RGB: #D1FAE5
Also known as: Tailwind v3 emerald-100
Result
#D1FAE5 → rgb(209 250 229)
Values are shown at full precision, so converting back gives exactly #d1fae5. 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
#D1FAE5 → D1 | FA | E5
2. base 16 → base 10
R = D1₁₆ = 13×16 + 1 = 209 G = FA₁₆ = 15×16 + 10 = 250 B = E5₁₆ = 14×16 + 5 = 229
3. RGB
rgb(209 250 229)
All formats
- HEX
- #d1fae5
- RGB
- rgb(209 250 229)
- RGB (legacy)
- rgb(209, 250, 229)
- HSL
- hsl(149.27 80.39% 90.00%) → hsl(149 80% 90%)
- HWB
- hwb(149 82% 2%)
- OKLCH
- oklch(0.950 0.051 163.1) · oklch(95.0% 0.051 163.1)
- OKLab
- oklab(0.950 -0.049 0.015)
- Lab (D50)
- lab(94.94 -16.66 5.50)
- LCH (D50)
- lch(94.94 17.54 161.73)
- Display P3
- color(display-p3 0.8511 0.9756 0.9031)
- Linear sRGB
- color(srgb-linear 0.6376 0.9560 0.7835)
Gamut: sRGB and Display P3
#D1FAE5 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.074 and Display P3 reaches 0.083; this color uses 69% of the sRGB chroma available.
CSS snippets
.element {
color: #d1fae5;
color: rgb(209 250 229);
color: hsl(149 80% 90%);
color: oklch(0.950 0.051 163.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.950 0.051 163.1);
}
/* arbitrary values */
class="text-[#d1fae5] bg-[oklch(0.950_0.051_163.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8511 0.9756 0.9031); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #d1fae5 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- emerald-100#D0FAE5
- green-100#DCFCE7
- v3 teal-100#CCFBF1
- teal-100#CBFBF1
- cyan-100#CEFAFE
- v3 cyan-100#CFFAFE
- v3 green-200#BBF7D0
- lightcyan#E0FFFF
Lighter and darker, same hue and chroma
- #E1FFF5 · oklch(1.000 0.051 163.1) · ΔL +0.06
- #BEE6D1 · oklch(0.890 0.051 163.1) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?