HEX to HSL: #A7F3D0
Also known as: Tailwind v3 emerald-200
Result
#A7F3D0 → hsl(152 76% 80%)
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. RGB ÷ 255
R = 0.6549 G = 0.9529 B = 0.8157
2. max, min, Δ
max = 0.9529 min = 0.6549 Δ = max − min = 0.2980
3. L
L = (max + min) / 2 = 0.8039 = 80.39%
4. S
S = Δ / (1 − |2L − 1|) = 0.7600 = 76.00%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.8157 − 0.6549) / 0.2980 + 2) = 152.37°
6. HSL
hsl(152.37 76.00% 80.39%)
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?