HEX to HSL: #99F6E4

Also known as: Tailwind v3 teal-200

Result

#99F6E4 → hsl(168 84% 78%)

Values are shown at full precision, so converting back gives exactly #99f6e4. 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. RGB ÷ 255

    R = 0.6000
    G = 0.9647
    B = 0.8941
  2. 2. max, min, Δ

    max = 0.9647
    min = 0.6000
    Δ = max − min = 0.3647
  3. 3. L

    L = (max + min) / 2 = 0.7824 = 78.24%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.8378 = 83.78%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.8941 − 0.6000) / 0.3647 + 2) = 168.39°
  6. 6. HSL

    hsl(168.39 83.78% 78.24%)

All formats

HEX
#99f6e4
RGB
rgb(153 246 228)
RGB (legacy)
rgb(153, 246, 228)
HSL
hsl(168.39 83.78% 78.24%) → hsl(168 84% 78%)
HWB
hwb(168 60% 4%)
OKLCH
oklch(0.910 0.093 180.4) · oklch(91.0% 0.093 180.4)
OKLab
oklab(0.910 -0.093 -0.001)
Lab (D50)
lab(90.71 -31.97 -0.52)
LCH (D50)
lch(90.71 31.97 180.94)
Display P3
color(display-p3 0.6840 0.9554 0.8955)
Linear sRGB
color(srgb-linear 0.3185 0.9216 0.7758)

Gamut: sRGB and Display P3

#99F6E4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.137 and Display P3 reaches 0.157; this color uses 67% of the sRGB chroma available.

CSS snippets

.element {
  color: #99f6e4;
  color: rgb(153 246 228);
  color: hsl(168 84% 78%);
  color: oklch(0.910 0.093 180.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.910 0.093 180.4);
}
/* arbitrary values */
class="text-[#99f6e4] bg-[oklch(0.910_0.093_180.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.6840 0.9554 0.8955); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #99f6e4 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

  • #ADFFF8 · oklch(0.970 0.093 180.4) · ΔL +0.06
  • #85E2D0 · oklch(0.850 0.093 180.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?