HSL to HEX: #14B8A6

Also known as: Tailwind v3 teal-500

Result

hsl(173.41 80.39% 40.00%) → #14B8A6

Values are shown at full precision, so converting back gives exactly #14b8a6. 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 = 173.41°, S = 80.39%, L = 40.00%
  2. 2. C

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

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

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

    (R′, G′, B′) = (0.00000, 0.64312, 0.57248)
    R = round((0.00000 + 0.07844) × 255) = 20
    G = round((0.64312 + 0.07844) × 255) = 184
    B = round((0.57248 + 0.07844) × 255) = 166
  6. 6. RGB → HEX

    #14B8A6

All formats

HEX
#14b8a6
RGB
rgb(20 184 166)
RGB (legacy)
rgb(20, 184, 166)
HSL
hsl(173.41 80.39% 40.00%) → hsl(173 80% 40%)
HWB
hwb(173 8% 28%)
OKLCH
oklch(0.704 0.123 182.5) · oklch(70.4% 0.123 182.5)
OKLab
oklab(0.704 -0.123 -0.005)
Lab (D50)
lab(67.15 -42.92 -2.33)
LCH (D50)
lch(67.15 42.98 183.11)
Display P3
color(display-p3 0.3333 0.7109 0.6515)
Linear sRGB
color(srgb-linear 0.0070 0.4793 0.3813)

Gamut: sRGB and Display P3

#14B8A6 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.126 and Display P3 reaches 0.170; this color uses 98% of the sRGB chroma available.

CSS snippets

.element {
  color: #14b8a6;
  color: rgb(20 184 166);
  color: hsl(173 80% 40%);
  color: oklch(0.704 0.123 182.5);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.704 0.123 182.5);
}
/* arbitrary values */
class="text-[#14b8a6] bg-[oklch(0.704_0.123_182.5)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3333 0.7109 0.6515); }
}

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

  • #39CBB9 · oklch(0.764 0.123 182.5) · ΔL +0.06
  • #00A594 · oklch(0.644 0.123 182.5) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?