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
Black text
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%);
}
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
- Aqua#00FFFFrgb(0, 255, 255)
- Turquoise#40E0D0rgb(64, 224, 208)
- Cobalt blue#0047ABrgb(0, 71, 171)
- Sky blue#87CEEBrgb(135, 206, 235)
- Baby blue#89CFF0rgb(137, 207, 240)
- Charcoal#36454Frgb(54, 69, 79)
See all popular colors · All HTML color names · Open teal in the color picker