HEX to OKLCH: #D0FAE5

Also known as: Tailwind emerald-100

Result

#D0FAE5 → oklch(0.950 0.052 163.6)

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. sRGB → linear

    R: 208/255 = 0.81569 → 0.630757  (((x + 0.055) / 1.055)^2.4)
    G: 250/255 = 0.98039 → 0.955973  (((x + 0.055) / 1.055)^2.4)
    B: 229/255 = 0.89804 → 0.783538  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.813041
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.868540
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.818625
  3. 3. cube root

    l′ = ∛0.813041 = 0.933335
    m′ = ∛0.868540 = 0.954106
    s′ = ∛0.818625 = 0.935467
  4. 4. LMS′ → Oklab

    L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.94981
    a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.04948
    b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.01453
  5. 5. Oklab → OKLCH

    C = √(a² + b²) = 0.05157
    H = atan2(b, a) = 163.631°
    L = 0.94981
  6. 6. OKLCH

    oklch(0.94981 0.05157 163.631)
    rounded: oklch(0.950 0.052 163.6)

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?