OKLCH to HEX: #5EEAD4

Also known as: Tailwind v3 teal-300

Result

oklch(0.85488 0.12508 181.071) → #5EEAD4

Values are shown at full precision, so converting back gives exactly #5eead4. 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.85488 0.12508 181.071)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.12506
    b = C·sin H = -0.00234
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.804810
    m′ = L − 0.1056·a − 0.0639·b = 0.868231
    s′ = L − 0.0895·a − 1.2915·b = 0.869090
  4. 4. cube

    l = 0.804810³ = 0.521291
    m = 0.868231³ = 0.654493
    s = 0.869090³ = 0.656439
  5. 5. LMS → linear sRGB

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

    R = 0.36860 × 255 = 93.99 → 94
    G = 0.91765 × 255 = 234.00 → 234
    B = 0.83137 × 255 = 212.00 → 212
  7. 7. RGB → HEX

    #5EEAD4

All formats

HEX
#5eead4
RGB
rgb(94 234 212)
RGB (legacy)
rgb(94, 234, 212)
HSL
hsl(170.57 76.92% 64.31%) → hsl(171 77% 64%)
HWB
hwb(171 37% 8%)
OKLCH
oklch(0.855 0.125 181.1) · oklch(85.5% 0.125 181.1)
OKLab
oklab(0.855 -0.125 -0.002)
Lab (D50)
lab(84.72 -43.50 -1.22)
LCH (D50)
lch(84.72 43.52 181.60)
Display P3
color(display-p3 0.5252 0.9059 0.8328)
Linear sRGB
color(srgb-linear 0.1119 0.8228 0.6584)

Gamut: sRGB and Display P3

#5EEAD4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.154 and Display P3 reaches 0.209; this color uses 81% of the sRGB chroma available.

CSS snippets

.element {
  color: #5eead4;
  color: rgb(94 234 212);
  color: hsl(171 77% 64%);
  color: oklch(0.855 0.125 181.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.855 0.125 181.1);
}
/* arbitrary values */
class="text-[#5eead4] bg-[oklch(0.855_0.125_181.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.5252 0.9059 0.8328); }
}

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

  • #75FEE8 · oklch(0.915 0.125 181.1) · ΔL +0.06
  • #46D6C1 · oklch(0.795 0.125 181.1) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?