Teal Color

HEX #008080 · rgb(0, 128, 128) · hsl(180, 100%, 25%)

Teal color codes

Teal is one of the named colors every browser understands. In CSS you can write it as teal or #008080.

FormatValue
HEX#008080
RGBrgb(0, 128, 128)
HSLhsl(180, 100%, 25%)
CMYK100%, 0%, 0%, 50%
CSS nameteal
.example {
  color: teal;
  background-color: #008080;
  border-color: rgb(0, 128, 128);
}

Colors that go with teal

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#800000Complementary
Maroon
#008040Analogous
#004080Analogous
#800080Triadic
Purple
#808000Triadic
Olive

Tints and shades of teal

Tints mix the color with white; shades mix it with black.

#E6F2F290% white
#BFDFDF75% white
#99CCCC60% white
#73B9B945% white
#4DA6A630% white
#26939315% white
#008080Base
Teal
#006D6D15% black
#005A5A30% black
#00464645% black
#00333360% black
#00202075% black
#000D0D90% black

Contrast and readability

Black text
4.40:1
large text only
White text
4.77:1
passes AA

Use white text on teal. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for teal?

The hex code for teal is #008080.

What is the RGB value of teal?

Teal is rgb(0, 128, 128): 0 red, 128 green and 128 blue on a 0 to 255 scale.

What color goes with teal?

Its complementary color is #800000, which is closest to the named color maroon. Analogous and triadic matches are listed on this page.

Should text on teal be black or white?

Use white text. The contrast ratio is 4.40:1 with black and 4.77:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.