OKLCH to HEX: #D0FAE5

Also known as: Tailwind emerald-100

Result

oklch(0.94981 0.05157 163.631) → #D0FAE5

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. input

    oklch(0.94981 0.05157 163.631)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.04948
    b = C·sin H = 0.01453
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.933336
    m′ = L − 0.1056·a − 0.0639·b = 0.954105
    s′ = L − 0.0895·a − 1.2915·b = 0.935468
  4. 4. cube

    l = 0.933336³ = 0.813043
    m = 0.954105³ = 0.868538
    s = 0.935468³ = 0.818628
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.630774
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.955964
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.783544
  6. 6. linear → sRGB, × 255

    R = 0.81570 × 255 = 208.00 → 208
    G = 0.98039 × 255 = 250.00 → 250
    B = 0.89804 × 255 = 229.00 → 229
  7. 7. RGB → HEX

    #D0FAE5

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?