OKLCH to HEX: #5EE9B5

Also known as: Tailwind emerald-300

Result

oklch(0.84413 0.14251 165.230) → #5EE9B5

Values are shown at full precision, so converting back gives exactly #5ee9b5. 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.84413 0.14251 165.230)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.13780
    b = C·sin H = 0.03633
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.797355
    m′ = L − 0.1056·a − 0.0639·b = 0.856357
    s′ = L − 0.0895·a − 1.2915·b = 0.809539
  4. 4. cube

    l = 0.797355³ = 0.506938
    m = 0.856357³ = 0.628006
    s = 0.809539³ = 0.530535
  5. 5. LMS → linear sRGB

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

    R = 0.36862 × 255 = 94.00 → 94
    G = 0.91372 × 255 = 233.00 → 233
    B = 0.70980 × 255 = 181.00 → 181
  7. 7. RGB → HEX

    #5EE9B5

All formats

HEX
#5ee9b5
RGB
rgb(94 233 181)
RGB (legacy)
rgb(94, 233, 181)
HSL
hsl(157.55 75.96% 64.12%) → hsl(158 76% 64%)
HWB
hwb(158 37% 9%)
OKLCH
oklch(0.844 0.143 165.2) · oklch(84.4% 0.143 165.2)
OKLab
oklab(0.844 -0.138 0.036)
Lab (D50)
lab(83.81 -48.60 13.60)
LCH (D50)
lch(83.81 50.47 164.37)
Display P3
color(display-p3 0.5238 0.9021 0.7231)
Linear sRGB
color(srgb-linear 0.1119 0.8148 0.4621)

Gamut: sRGB and Display P3

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

CSS snippets

.element {
  color: #5ee9b5;
  color: rgb(94 233 181);
  color: hsl(158 76% 64%);
  color: oklch(0.844 0.143 165.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.844 0.143 165.2);
}
/* arbitrary values */
class="text-[#5ee9b5] bg-[oklch(0.844_0.143_165.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.5238 0.9021 0.7231); }
}

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

  • #74FDC8 · oklch(0.904 0.143 165.2) · ΔL +0.06
  • #46D5A2 · oklch(0.784 0.143 165.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?