HEX to RGB: #DCFCE7
Also known as: Tailwind green-100, Tailwind v3 green-100
Result
#DCFCE7 → rgb(220 252 231)
Values are shown at full precision, so converting back gives exactly #dcfce7. 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
#DCFCE7 → DC | FC | E7
2. base 16 → base 10
R = DC₁₆ = 13×16 + 12 = 220 G = FC₁₆ = 15×16 + 12 = 252 B = E7₁₆ = 14×16 + 7 = 231
3. RGB
rgb(220 252 231)
All formats
- HEX
- #dcfce7
- RGB
- rgb(220 252 231)
- RGB (legacy)
- rgb(220, 252, 231)
- HSL
- hsl(140.62 84.21% 92.55%) → hsl(141 84% 93%)
- HWB
- hwb(141 86% 1%)
- OKLCH
- oklch(0.962 0.043 156.7) · oklch(96.2% 0.043 156.7)
- OKLab
- oklab(0.962 -0.040 0.017)
- Lab (D50)
- lab(96.23 -13.65 6.43)
- LCH (D50)
- lch(96.23 15.09 154.77)
- Display P3
- color(display-p3 0.8868 0.9844 0.9115)
- Linear sRGB
- color(srgb-linear 0.7157 0.9734 0.7991)
Gamut: sRGB and Display P3
#DCFCE7 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.058 and Display P3 reaches 0.064; this color uses 75% of the sRGB chroma available.
CSS snippets
.element {
color: #dcfce7;
color: rgb(220 252 231);
color: hsl(141 84% 93%);
color: oklch(0.962 0.043 156.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.962 0.043 156.7);
}
/* arbitrary values */
class="text-[#dcfce7] bg-[oklch(0.962_0.043_156.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8868 0.9844 0.9115); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #dcfce7 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 emerald-100#D1FAE5
- emerald-100#D0FAE5
- v3 teal-100#CCFBF1
- teal-100#CBFBF1
- emerald-50#ECFDF5
- honeydew#F0FFF0
- lightcyan#E0FFFF
- green-50#F0FDF4
Lighter and darker, same hue and chroma
- #E8FFF3 · oklch(1.000 0.043 156.7) · ΔL +0.06
- #C8E8D3 · oklch(0.902 0.043 156.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?