OKLCH to HEX: #00CED1

Also known as: CSS darkturquoise

Result

oklch(0.77193 0.13144 196.643) → #00CED1

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

    oklch(0.77193 0.13144 196.643)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.12593
    b = C·sin H = -0.03765
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.713894
    m′ = L − 0.1056·a − 0.0639·b = 0.787628
    s′ = L − 0.0895·a − 1.2915·b = 0.831818
  4. 4. cube

    l = 0.713894³ = 0.363832
    m = 0.787628³ = 0.488610
    s = 0.831818³ = 0.575552
  5. 5. LMS → linear sRGB

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

    R = 0.00001 × 255 = 0.00 → 0
    G = 0.80784 × 255 = 206.00 → 206
    B = 0.81961 × 255 = 209.00 → 209
  7. 7. RGB → HEX

    #00CED1

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?