OKLCH to HEX: #00D5BE

Also known as: Tailwind teal-400

Result

oklch(0.78296 0.14079 181.375) → #00D5BE

Values are shown at full precision, so converting back gives exactly #00d5be. 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.78296 0.14079 181.375)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.14075
    b = C·sin H = -0.00338
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.726447
    m′ = L − 0.1056·a − 0.0639·b = 0.798033
    s′ = L − 0.0895·a − 1.2915·b = 0.799918
  4. 4. cube

    l = 0.726447³ = 0.383364
    m = 0.798033³ = 0.508233
    s = 0.799918³ = 0.511843
  5. 5. LMS → linear sRGB

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

    R = 0.00007 × 255 = 0.02 → 0
    G = 0.83530 × 255 = 213.00 → 213
    B = 0.74510 × 255 = 190.00 → 190
  7. 7. RGB → HEX

    #00D5BE

All formats

HEX
#00d5be
RGB
rgb(0 213 190)
RGB (legacy)
rgb(0, 213, 190)
HSL
hsl(173.52 100.00% 41.76%) → hsl(174 100% 42%)
HWB
hwb(174 0% 16%)
OKLCH
oklch(0.783 0.141 181.4) · oklch(78.3% 0.141 181.4)
OKLab
oklab(0.783 -0.141 -0.003)
Lab (D50)
lab(76.57 -49.30 -1.63)
LCH (D50)
lch(76.57 49.32 181.89)
Display P3
color(display-p3 0.3782 0.8229 0.7465)
Linear sRGB
color(srgb-linear 0.0000 0.6654 0.5149)

Gamut: sRGB and Display P3

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

CSS snippets

.element {
  color: #00d5be;
  color: rgb(0 213 190);
  color: hsl(174 100% 42%);
  color: oklch(0.783 0.141 181.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.783 0.141 181.4);
}
/* arbitrary values */
class="text-[#00d5be] bg-[oklch(0.783_0.141_181.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3782 0.8229 0.7465); }
}

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

  • #39E9D1 · oklch(0.843 0.141 181.4) · ΔL +0.06
  • #00C1AB · oklch(0.723 0.141 181.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?