HEX to HSL: #AFEEEE

Also known as: CSS paleturquoise

Result

#AFEEEE → hsl(180 65% 81%)

Values are shown at full precision, so converting back gives exactly #afeeee. 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.6863
    G = 0.9333
    B = 0.9333
  2. 2. max, min, Δ

    max = 0.9333
    min = 0.6863
    Δ = max − min = 0.2471
  3. 3. L

    L = (max + min) / 2 = 0.8098 = 80.98%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.6495 = 64.95%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.9333 − 0.6863) / 0.2471 + 2) = 180.00°
  6. 6. HSL

    hsl(180.00 64.95% 80.98%)

All formats

HEX
#afeeee
RGB
rgb(175 238 238)
RGB (legacy)
rgb(175, 238, 238)
HSL
hsl(180.00 64.95% 80.98%) → hsl(180 65% 81%)
HWB
hwb(180 69% 7%)
OKLCH
oklch(0.907 0.063 196.1) · oklch(90.7% 0.063 196.1)
OKLab
oklab(0.907 -0.061 -0.018)
Lab (D50)
lab(89.87 -20.50 -6.76)
LCH (D50)
lch(89.87 21.59 198.25)
Display P3
color(display-p3 0.7382 0.9265 0.9298)
Linear sRGB
color(srgb-linear 0.4287 0.8550 0.8550)

Gamut: sRGB and Display P3

#AFEEEE is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.141 and Display P3 reaches 0.151; this color uses 45% of the sRGB chroma available.

CSS snippets

.element {
  color: #afeeee;
  color: rgb(175 238 238);
  color: hsl(180 65% 81%);
  color: oklch(0.907 0.063 196.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.907 0.063 196.1);
}
/* arbitrary values */
class="text-[#afeeee] bg-[oklch(0.907_0.063_196.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7382 0.9265 0.9298); }
}

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

  • #C3FFFF · oklch(0.967 0.063 196.1) · ΔL +0.06
  • #9CDADA · oklch(0.847 0.063 196.1) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?