Teal Color Code (#008080)

Teal is #008080 in hex and rgb(0, 128, 128) — a dark cyan. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Teal
#008080
CSS nameteal
Hex#008080
RGBrgb(0, 128, 128)
HSLhsl(180 100% 25%)
HWBhwb(180 0% 50%)
CMYK100%, 0%, 0%, 50%

Tints and shades

Color harmonies

About Teal

Teal (teal) is a dark, vivid cyan with the hex code #008080, or rgb(0, 128, 128). In HSL it sits at a hue of 180°, 100% saturation and 25% lightness. It is one of the 148 named colors every browser understands, so you can write color: teal; instead of the hex value.

Using Teal for text and backgrounds

PairingContrast ratioWCAG
Teal text on white4.77 : 1AA
Teal text on black4.40 : 1AA large text only

On a teal background, use white text (4.77 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: teal;               /* or #008080 */
  background-color: #008080;
  border: 1px solid rgb(0 128 128 / 50%);
}

Similar named colors

Dark Cyan (#008b8b), Sea Green (#2e8b57), Light Sea Green (#20b2aa), Medium Sea Green (#3cb371), Dark Slate Gray (#2f4f4f), Steel Blue (#4682b4).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for teal?
#008080 — that is rgb(0, 128, 128) and hsl(180, 100%, 25%). In CSS you can also just write teal.
Is teal text readable on white?
Its contrast ratio on white is 4.77 : 1, which passes WCAG AA for normal text.
What colors go well with teal?
Its complementary color is #800000; analogous colors #008040 and #004080 sit next to it on the color wheel.