Home / Colors / Teal hex code

Teal hex code

A dark blue-green named after the teal duck.

#008080 Teal
HEX#008080
RGBrgb(0, 128, 128)
HSLhsl(180, 100%, 25%)
HSVhsv(180, 100%, 50%)
CMYKcmyk(100%, 0%, 0%, 50%)
Advertisement

About teal

A dark blue-green named after the teal duck. This is the CSS teal. Its hex code is #008080, which is rgb(0, 128, 128): 0 red, 128 green and 128 blue on a scale of 0 to 255.

Teal is a cool color.

Teal tints and shades

Lighter tints (mixed with white) and darker shades (mixed with black) of teal. Click any of them to copy its hex code.

Colors that go with teal

Complementary

The opposite color on the color wheel, for strong contrast.

Analogous

Neighbors on the color wheel, for a calm, matching look.

Triadic

Three colors evenly spaced around the wheel, for a balanced, lively palette.

Split complementary

The two colors either side of the complement: contrast without clashing.

Text on teal

White text

4.77:1 · Passes AA for all text

Black text

4.39:1 · Large text only (AA)

For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). White text is the better choice on teal. Test other combinations with the contrast checker.

Using teal in CSS

.element {
  color: #008080;
  background-color: rgb(0 128 128);
  border-color: hsl(180 100% 25%);
}
Advertisement

Frequently asked questions

What is the hex code for teal?

Teal is #008080. In RGB it's rgb(0, 128, 128), and in HSL it's hsl(180, 100%, 25%).

What colors go with teal?

Its complementary color is #800000, which gives strong contrast. For a softer look, use analogous colors #008040 and #004080. Teal also pairs well with white.

Is teal warm or cool?

Teal is a cool color.

Should I use white or black text on teal?

Use white text. Its contrast ratio on teal is 4.77:1, versus 4.39:1 for black.

Similar colors

See all popular colors · All HTML color names · Open teal in the color picker

Advertisement