OKLCH to HEX: #86EFAC

Also known as: Tailwind v3 green-300

Result

oklch(0.87116 0.13627 154.449) → #86EFAC

Values are shown at full precision, so converting back gives exactly #86efac. 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.87116 0.13627 154.449)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.12294
    b = C·sin H = 0.05878
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.835117
    m′ = L − 0.1056·a − 0.0639·b = 0.880385
    s′ = L − 0.0895·a − 1.2915·b = 0.806254
  4. 4. cube

    l = 0.835117³ = 0.582428
    m = 0.880385³ = 0.682367
    s = 0.806254³ = 0.524102
  5. 5. LMS → linear sRGB

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

    R = 0.52548 × 255 = 134.00 → 134
    G = 0.93725 × 255 = 239.00 → 239
    B = 0.67450 × 255 = 172.00 → 172
  7. 7. RGB → HEX

    #86EFAC

All formats

HEX
#86efac
RGB
rgb(134 239 172)
RGB (legacy)
rgb(134, 239, 172)
HSL
hsl(141.71 76.64% 73.14%) → hsl(142 77% 73%)
HWB
hwb(142 53% 6%)
OKLCH
oklch(0.871 0.136 154.4) · oklch(87.1% 0.136 154.4)
OKLab
oklab(0.871 -0.123 0.059)
Lab (D50)
lab(86.84 -42.82 22.63)
LCH (D50)
lch(86.84 48.43 152.14)
Display P3
color(display-p3 0.6257 0.9273 0.6959)
Linear sRGB
color(srgb-linear 0.2384 0.8632 0.4125)

Gamut: sRGB and Display P3

#86EFAC is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.218 and Display P3 reaches 0.263; this color uses 63% of the sRGB chroma available.

CSS snippets

.element {
  color: #86efac;
  color: rgb(134 239 172);
  color: hsl(142 77% 73%);
  color: oklch(0.871 0.136 154.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.871 0.136 154.4);
}
/* arbitrary values */
class="text-[#86efac] bg-[oklch(0.871_0.136_154.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.6257 0.9273 0.6959); }
}

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

  • #9AFFBF · oklch(0.931 0.136 154.4) · ΔL +0.06
  • #72DB99 · oklch(0.811 0.136 154.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?