HEX to OKLCH: #96F7E4

Also known as: Tailwind teal-200

Result

#96F7E4 → oklch(0.911 0.096 180.1)

Values are shown at full precision, so converting back gives exactly #96f7e4. 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: 150/255 = 0.58824 → 0.304987  (((x + 0.055) / 1.055)^2.4)
    G: 247/255 = 0.96863 → 0.930111  (((x + 0.055) / 1.055)^2.4)
    B: 228/255 = 0.89412 → 0.775822  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.664484
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.781075
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.777712
  3. 3. cube root

    l′ = ∛0.664484 = 0.872626
    m′ = ∛0.781075 = 0.920939
    s′ = ∛0.777712 = 0.919616
  4. 4. LMS′ → Oklab

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

    C = √(a² + b²) = 0.09616
    H = atan2(b, a) = 180.108°
    L = 0.91078
  6. 6. OKLCH

    oklch(0.91078 0.09616 180.108)
    rounded: oklch(0.911 0.096 180.1)

All formats

HEX
#96f7e4
RGB
rgb(150 247 228)
RGB (legacy)
rgb(150, 247, 228)
HSL
hsl(168.25 85.84% 77.84%) → hsl(168 86% 78%)
HWB
hwb(168 59% 3%)
OKLCH
oklch(0.911 0.096 180.1) · oklch(91.1% 0.096 180.1)
OKLab
oklab(0.911 -0.096 0.000)
Lab (D50)
lab(90.86 -33.20 -0.34)
LCH (D50)
lch(90.86 33.20 180.59)
Display P3
color(display-p3 0.6770 0.9590 0.8957)
Linear sRGB
color(srgb-linear 0.3050 0.9301 0.7758)

Gamut: sRGB and Display P3

#96F7E4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.136 and Display P3 reaches 0.155; this color uses 71% of the sRGB chroma available.

CSS snippets

.element {
  color: #96f7e4;
  color: rgb(150 247 228);
  color: hsl(168 86% 78%);
  color: oklch(0.911 0.096 180.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.911 0.096 180.1);
}
/* arbitrary values */
class="text-[#96f7e4] bg-[oklch(0.911_0.096_180.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.6770 0.9590 0.8957); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #96f7e4 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

  • #AAFFF8 · oklch(0.971 0.096 180.1) · ΔL +0.06
  • #82E3D0 · oklch(0.851 0.096 180.1) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?