Skip to content

Teal

Hex #008080, rgb(0 128 128). A cyan or teal CSS named color.

Open in palette generator

Teal color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Teal

Teal is a medium moderately saturated cyan-teal with the hex code #008080. In RGB it is made of 0 red, 128 green and 128 blue; in HSL its hue is 180°, with 100% saturation and 25% lightness. Its perceptual lightness (OKLCH L) is 54.3%.

It is a CSS named color, so you can write "teal" anywhere CSS accepts a color. Against white it has a contrast ratio of 4.77:1 and against black 4.40:1, so white text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Teal mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Teal 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Teal

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Tetradic

Square

Contrast and readability

WCAG 2 contrast of Teal with white and black. The readable text color on Teal is white.

Teal textSmall text on white

On white4.77:1

  • AA pass
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc 73

Teal textSmall text on black

On black4.40:1

  • AA fail
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc -29

White text on Teal (#FFFFFF)

Test any pair in the contrast checker.

Color blindness preview

How Teal appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#777980
  • Deuteranopia#676E81
  • Tritanopia#008580
  • Protanomaly#667A80
  • Deuteranomaly#5C7381
  • Tritanomaly#008280
  • Achromatopsia#737373

Colors similar to Teal

The closest named colors by perceptual difference (OKLab).

Use Teal in CSS and Tailwind

CSS
.teal {
  color: teal; /* #008080 */
  background-color: rgb(0 128 128);
  border-color: oklch(54.3% 0.093 194.8);
}
Tailwind CSS
/* Tailwind CSS v4: bg-teal-500, text-teal-700... */
@theme {
  --color-teal-50: #F5FCFB;
  --color-teal-100: #E2F0F0;
  --color-teal-200: #C6E1E0;
  --color-teal-300: #97CAC9;
  --color-teal-400: #56AAA9;
  --color-teal-500: #249595;
  --color-teal-600: #008080;
  --color-teal-700: #006767;
  --color-teal-800: #045353;
  --color-teal-900: #094343;
  --color-teal-950: #001B1B;
}

<!-- or the exact color, no config -->
<div class="bg-[#008080] text-[#FFFFFF]">…</div>