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.
| Format | Value | |
|---|---|---|
| HEX | #008080 | |
| RGB | rgb(0, 128, 128) | |
| HSL | hsl(180, 100%, 25%) | |
| CMYK | 100%, 0%, 0%, 50% | |
| CSS name | teal |
.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.
Tints and shades of teal
Tints mix the color with white; shades mix it with black.
Teal
Contrast and readability
4.40:1
large text only
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.