Skip to content

Teal

Teal is a dark, vivid color from the cyan family. Hex code #008080.

Teal#008080

Color codes

  • CSS nameteal
  • HEX#008080
  • RGBrgb(0 128 128)
  • HSLhsl(180 100% 25%)
  • HSB / HSVhsb(180, 100%, 50%)
  • OKLCHoklch(54.3% 0.093 194.8)
  • CMYKcmyk(100%, 0%, 0%, 50%)

White text

4.77:1 · passes WCAG AA

Black text

4.39:1 · passes WCAG AA for large text only

Shades

50#C8FEFD
100#86E8E7
200#69CBCA
300#4AAEAE
400#289393
500#147776
600#115A5A
700#064040
800#032727

Complementary

#008080
#9E585E

Analogous

#008080
#308062
#207A98

Triadic

#008080
#845E95
#8F672A

About this color

Teal in CSS and design

Teal is a dark, vivid color from the cyan family. Teal is one of the 16 basic color keywords, which go back to HTML 4, long before CSS had 148 named colors.

Use it in CSS by name or by any of its codes; these all give the same color:

color: teal;
color: #008080;
color: rgb(0 128 128);
color: hsl(180 100% 25%);

For text on teal, white reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for teal?

#008080. In CSS you can also use the keyword teal, which works in every browser.

What is teal in RGB and HSL?

In RGB it is rgb(0 128 128), in HSL hsl(180 100% 25%). For print, cmyk(100%, 0%, 0%, 50%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on teal?

White text works better: it has a contrast ratio of 4.77:1 and passes WCAG AA. Black text reaches 4.39:1.

Which colors go with teal?

Its complementary color is #9E585E, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #308062 and #207A98. The palette generator builds more combinations.