HEX to OKLCH: #00CED1

Also known as: CSS darkturquoise

Result

#00CED1 → oklch(0.772 0.131 196.6)

Values are shown at full precision, so converting back gives exactly #00ced1. 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: 0/255 = 0.00000 → 0.000000  (÷ 12.92)
    G: 206/255 = 0.80784 → 0.617207  (((x + 0.055) / 1.055)^2.4)
    B: 209/255 = 0.81961 → 0.637597  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.363830
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.488608
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.575551
  3. 3. cube root

    l′ = ∛0.363830 = 0.713892
    m′ = ∛0.488608 = 0.787626
    s′ = ∛0.575551 = 0.831817
  4. 4. LMS′ → Oklab

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

    C = √(a² + b²) = 0.13144
    H = atan2(b, a) = 196.643°
    L = 0.77193
  6. 6. OKLCH

    oklch(0.77193 0.13144 196.643)
    rounded: oklch(0.772 0.131 196.6)

All formats

HEX
#00ced1
RGB
rgb(0 206 209)
RGB (legacy)
rgb(0, 206, 209)
HSL
hsl(180.86 100.00% 40.98%) → hsl(181 100% 41%)
HWB
hwb(181 0% 18%)
OKLCH
oklch(0.772 0.131 196.6) · oklch(77.2% 0.131 196.6)
OKLab
oklab(0.772 -0.126 -0.038)
Lab (D50)
lab(74.90 -42.43 -14.23)
LCH (D50)
lch(74.90 44.75 198.54)
Display P3
color(display-p3 0.3649 0.7958 0.8125)
Linear sRGB
color(srgb-linear 0.0000 0.6172 0.6376)

Gamut: sRGB and Display P3

#00CED1 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.131 and Display P3 reaches 0.176; this color uses 100% of the sRGB chroma available.

CSS snippets

.element {
  color: #00ced1;
  color: rgb(0 206 209);
  color: hsl(181 100% 41%);
  color: oklch(0.772 0.131 196.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.772 0.131 196.6);
}
/* arbitrary values */
class="text-[#00ced1] bg-[oklch(0.772_0.131_196.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3649 0.7958 0.8125); }
}

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

  • #38E2E5 · oklch(0.832 0.131 196.6) · ΔL +0.06
  • #00BABE · oklch(0.712 0.131 196.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?