HEX to RGB: #14B8A6

Also known as: Tailwind v3 teal-500

Result

#14B8A6 → rgb(20 184 166)

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. HEX → pairs

    #14B8A6 → 14 | B8 | A6
  2. 2. base 16 → base 10

    R = 14₁₆ = 1×16 + 4 = 20
    G = B8₁₆ = 11×16 + 8 = 184
    B = A6₁₆ = 10×16 + 6 = 166
  3. 3. RGB

    rgb(20 184 166)

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?