HEX to RGB: #86EFAC

Also known as: Tailwind v3 green-300

Result

#86EFAC → rgb(134 239 172)

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. HEX → pairs

    #86EFAC → 86 | EF | AC
  2. 2. base 16 → base 10

    R = 86₁₆ = 8×16 + 6 = 134
    G = EF₁₆ = 14×16 + 15 = 239
    B = AC₁₆ = 10×16 + 12 = 172
  3. 3. RGB

    rgb(134 239 172)

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?