HSL to HEX: #46ECD5

Also known as: Tailwind teal-300

Result

hsl(171.69 81.37% 60.00%) → #46ECD5

Values are shown at full precision, so converting back gives exactly #46ecd5. 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 = 171.69°, S = 81.37%, L = 60.00%
  2. 2. C

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

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

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

    (R′, G′, B′) = (0.00000, 0.65096, 0.56080)
    R = round((0.00000 + 0.27452) × 255) = 70
    G = round((0.65096 + 0.27452) × 255) = 236
    B = round((0.56080 + 0.27452) × 255) = 213
  6. 6. RGB → HEX

    #46ECD5

All formats

HEX
#46ecd5
RGB
rgb(70 236 213)
RGB (legacy)
rgb(70, 236, 213)
HSL
hsl(171.69 81.37% 60.00%) → hsl(172 81% 60%)
HWB
hwb(172 27% 7%)
OKLCH
oklch(0.854 0.137 181.6) · oklch(85.4% 0.137 181.6)
OKLab
oklab(0.854 -0.137 -0.004)
Lab (D50)
lab(84.76 -47.91 -1.78)
LCH (D50)
lch(84.76 47.95 182.12)
Display P3
color(display-p3 0.4837 0.9128 0.8365)
Linear sRGB
color(srgb-linear 0.0612 0.8388 0.6654)

Gamut: sRGB and Display P3

#46ECD5 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.153 and Display P3 reaches 0.208; this color uses 90% of the sRGB chroma available.

CSS snippets

.element {
  color: #46ecd5;
  color: rgb(70 236 213);
  color: hsl(172 81% 60%);
  color: oklch(0.854 0.137 181.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.854 0.137 181.6);
}
/* arbitrary values */
class="text-[#46ecd5] bg-[oklch(0.854_0.137_181.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.4837 0.9128 0.8365); }
}

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

  • #60FFE9 · oklch(0.914 0.137 181.6) · ΔL +0.06
  • #23D8C2 · oklch(0.794 0.137 181.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?