HSL to HEX: #99F6E4

Also known as: Tailwind v3 teal-200

Result

hsl(168.39 83.78% 78.24%) → #99F6E4

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. input

    H = 168.39°, S = 83.78%, L = 78.24%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.36461
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.29406   (H / 60° = 2.8065, sector 2)
  4. 4. m

    m = L − C / 2 = 0.60009
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.00000, 0.36461, 0.29406)
    R = round((0.00000 + 0.60009) × 255) = 153
    G = round((0.36461 + 0.60009) × 255) = 246
    B = round((0.29406 + 0.60009) × 255) = 228
  6. 6. RGB → HEX

    #99F6E4

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?