HSL to HEX: #6EE7B7
Also known as: Tailwind v3 emerald-300
Result
hsl(156.20 71.60% 66.86%) → #6EE7B7
Values are shown at full precision, so converting back gives exactly #6ee7b7. 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. input
H = 156.20°, S = 71.60%, L = 66.86%
2. C
C = (1 − |2L − 1|) × S = 0.47456
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.28632 (H / 60° = 2.6033, sector 2)
4. m
m = L − C / 2 = 0.43132
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.47456, 0.28632) R = round((0.00000 + 0.43132) × 255) = 110 G = round((0.47456 + 0.43132) × 255) = 231 B = round((0.28632 + 0.43132) × 255) = 183
6. RGB → HEX
#6EE7B7
All formats
- HEX
- #6ee7b7
- RGB
- rgb(110 231 183)
- RGB (legacy)
- rgb(110, 231, 183)
- HSL
- hsl(156.20 71.60% 66.86%) → hsl(156 72% 67%)
- HWB
- hwb(156 43% 9%)
- OKLCH
- oklch(0.845 0.130 165.0) · oklch(84.5% 0.130 165.0)
- OKLab
- oklab(0.845 -0.126 0.034)
- Lab (D50)
- lab(83.77 -44.09 12.60)
- LCH (D50)
- lch(83.77 45.85 164.06)
- Display P3
- color(display-p3 0.5565 0.8951 0.7298)
- Linear sRGB
- color(srgb-linear 0.1559 0.7991 0.4735)
Gamut: sRGB and Display P3
#6EE7B7 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.178 and Display P3 reaches 0.244; this color uses 73% of the sRGB chroma available.
CSS snippets
.element {
color: #6ee7b7;
color: rgb(110 231 183);
color: hsl(156 72% 67%);
color: oklch(0.845 0.130 165.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.845 0.130 165.0);
}
/* arbitrary values */
class="text-[#6ee7b7] bg-[oklch(0.845_0.130_165.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5565 0.8951 0.7298); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #6ee7b7 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- emerald-300#5EE9B5
- v3 green-300#86EFAC
- v3 teal-300#5EEAD4
- teal-300#46ECD5
- green-300#7BF1A8
- turquoise#40E0D0
- lightgreen#90EE90
- emerald-200#A4F4CF
Lighter and darker, same hue and chroma
- #83FBCA · oklch(0.905 0.130 165.0) · ΔL +0.06
- #59D3A4 · oklch(0.785 0.130 165.0) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?