OKLCH to HEX: #00BBA7

Also known as: Tailwind teal-500

Result

oklch(0.71048 0.12758 181.602) → #00BBA7

Values are shown at full precision, so converting back gives exactly #00bba7. 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.71048 0.12758 181.602)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.12753
    b = C·sin H = -0.00357
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.659165
    m′ = L − 0.1056·a − 0.0639·b = 0.724170
    s′ = L − 0.0895·a − 1.2915·b = 0.726498
  4. 4. cube

    l = 0.659165³ = 0.286407
    m = 0.724170³ = 0.379771
    s = 0.726498³ = 0.383446
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = -0.000002
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.496943
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.386438
  6. 6. linear → sRGB, × 255

    R = 0.00000 × 255 = 0.00 → 0
    G = 0.73334 × 255 = 187.00 → 187
    B = 0.65491 × 255 = 167.00 → 167
  7. 7. RGB → HEX

    #00BBA7

All formats

HEX
#00bba7
RGB
rgb(0 187 167)
RGB (legacy)
rgb(0, 187, 167)
HSL
hsl(173.58 100.00% 36.67%) → hsl(174 100% 37%)
HWB
hwb(174 0% 27%)
OKLCH
oklch(0.710 0.128 181.6) · oklch(71.0% 0.128 181.6)
OKLab
oklab(0.710 -0.128 -0.004)
Lab (D50)
lab(68.00 -44.65 -1.66)
LCH (D50)
lch(68.00 44.68 182.13)
Display P3
color(display-p3 0.3286 0.7223 0.6560)
Linear sRGB
color(srgb-linear 0.0000 0.4969 0.3864)

Gamut: sRGB and Display P3

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

CSS snippets

.element {
  color: #00bba7;
  color: rgb(0 187 167);
  color: hsl(174 100% 37%);
  color: oklch(0.710 0.128 181.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.710 0.128 181.6);
}
/* arbitrary values */
class="text-[#00bba7] bg-[oklch(0.710_0.128_181.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3286 0.7223 0.6560); }
}

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

  • #34CFBA · oklch(0.770 0.128 181.6) · ΔL +0.06
  • #00A895 · oklch(0.650 0.128 181.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?