HSL to HEX: #86EFAC

Also known as: Tailwind v3 green-300

Result

hsl(141.71 76.64% 73.14%) → #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

    H = 141.71°, S = 76.64%, L = 73.14%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.41171
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.14897   (H / 60° = 2.3618, sector 2)
  4. 4. m

    m = L − C / 2 = 0.52554
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.00000, 0.41171, 0.14897)
    R = round((0.00000 + 0.52554) × 255) = 134
    G = round((0.41171 + 0.52554) × 255) = 239
    B = round((0.14897 + 0.52554) × 255) = 172
  6. 6. 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?