HEX to HSL: #D0FAE5

Also known as: Tailwind emerald-100

Result

#D0FAE5 → hsl(150 81% 90%)

Values are shown at full precision, so converting back gives exactly #d0fae5. 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. 1. RGB ÷ 255

    R = 0.8157
    G = 0.9804
    B = 0.8980
  2. 2. max, min, Δ

    max = 0.9804
    min = 0.8157
    Δ = max − min = 0.1647
  3. 3. L

    L = (max + min) / 2 = 0.8980 = 89.80%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.8077 = 80.77%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.8980 − 0.8157) / 0.1647 + 2) = 150.00°
  6. 6. HSL

    hsl(150.00 80.77% 89.80%)

All formats

HEX
#d0fae5
RGB
rgb(208 250 229)
RGB (legacy)
rgb(208, 250, 229)
HSL
hsl(150.00 80.77% 89.80%) → hsl(150 81% 90%)
HWB
hwb(150 82% 2%)
OKLCH
oklch(0.950 0.052 163.6) · oklch(95.0% 0.052 163.6)
OKLab
oklab(0.950 -0.049 0.015)
Lab (D50)
lab(94.87 -16.99 5.40)
LCH (D50)
lch(94.87 17.82 162.37)
Display P3
color(display-p3 0.8480 0.9755 0.9030)
Linear sRGB
color(srgb-linear 0.6308 0.9560 0.7835)

Gamut: sRGB and Display P3

#D0FAE5 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.075 and Display P3 reaches 0.084; this color uses 69% of the sRGB chroma available.

CSS snippets

.element {
  color: #d0fae5;
  color: rgb(208 250 229);
  color: hsl(150 81% 90%);
  color: oklch(0.950 0.052 163.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.950 0.052 163.6);
}
/* arbitrary values */
class="text-[#d0fae5] bg-[oklch(0.950_0.052_163.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8480 0.9755 0.9030); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #d0fae5 calc(l - 0.1) c h); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #E1FFF6 · oklch(1.000 0.052 163.6) · ΔL +0.06
  • #BDE6D1 · oklch(0.890 0.052 163.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?