RGB to HEX: #86EFAC
Also known as: Tailwind v3 green-300
Result
rgb(134 239 172) → #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. base 10 → base 16
R = 134 = 8×16 + 6 → 86 G = 239 = 14×16 + 15 → EF B = 172 = 10×16 + 12 → AC
2. pairs → HEX
86 EF AC → #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).
- green-300#7BF1A8
- lightgreen#90EE90
- v3 emerald-300#6EE7B7
- emerald-300#5EE9B5
- palegreen#98FB98
- aquamarine#7FFFD4
- emerald-200#A4F4CF
- v3 emerald-200#A7F3D0
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
Guides: What is OKLCH?