HSL to HEX: #A7F3D0
Also known as: Tailwind v3 emerald-200
Result
hsl(152.37 76.00% 80.39%) → #A7F3D0
Values are shown at full precision, so converting back gives exactly #a7f3d0. 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 = 152.37°, S = 76.00%, L = 80.39%
2. C
C = (1 − |2L − 1|) × S = 0.29807
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.16081 (H / 60° = 2.5395, sector 2)
4. m
m = L − C / 2 = 0.65486
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.29807, 0.16081) R = round((0.00000 + 0.65486) × 255) = 167 G = round((0.29807 + 0.65486) × 255) = 243 B = round((0.16081 + 0.65486) × 255) = 208
6. RGB → HEX
#A7F3D0
All formats
- HEX
- #a7f3d0
- RGB
- rgb(167 243 208)
- RGB (legacy)
- rgb(167, 243, 208)
- HSL
- hsl(152.37 76.00% 80.39%) → hsl(152 76% 80%)
- HWB
- hwb(152 65% 5%)
- OKLCH
- oklch(0.905 0.089 164.2) · oklch(90.5% 0.089 164.2)
- OKLab
- oklab(0.905 -0.086 0.024)
- Lab (D50)
- lab(90.17 -29.84 9.11)
- LCH (D50)
- lch(90.17 31.20 163.02)
- Display P3
- color(display-p3 0.7200 0.9450 0.8243)
- Linear sRGB
- color(srgb-linear 0.3864 0.8963 0.6308)
Gamut: sRGB and Display P3
#A7F3D0 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.151 and Display P3 reaches 0.170; this color uses 59% of the sRGB chroma available.
CSS snippets
.element {
color: #a7f3d0;
color: rgb(167 243 208);
color: hsl(152 76% 80%);
color: oklch(0.905 0.089 164.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.905 0.089 164.2);
}
/* arbitrary values */
class="text-[#a7f3d0] bg-[oklch(0.905_0.089_164.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7200 0.9450 0.8243); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a7f3d0 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- emerald-200#A4F4CF
- green-200#B9F8CF
- v3 green-200#BBF7D0
- v3 teal-200#99F6E4
- teal-200#96F7E4
- aquamarine#7FFFD4
- paleturquoise#AFEEEE
- emerald-100#D0FAE5
Lighter and darker, same hue and chroma
- #BBFFE4 · oklch(0.965 0.089 164.2) · ΔL +0.06
- #94DFBD · oklch(0.845 0.089 164.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?