About teal
CSS teal (#008080) is equal green and blue at about half strength, one of the 16 HTML 4 color names.
Related blue-greens in CSS include darkcyan (#008B8B), lightseagreen (#20B2AA) and turquoise (#40E0D0).
Shades and tints of teal
Teal lands on the 700 step. The steps follow a lightness curve modeled on Tailwind CSS's default palette; build your own in the Tailwind color generator. For teal mixed with white, black or gray in even steps, use the tint and shade generator.
Colors that go with teal
Partner hues are picked on the OKLCH color wheel.
Complementary: the opposite hue
Open in the palette generator · Compare the screen and painter's complements of teal
Analogous: neighboring hues 30° either side
Open in the palette generator · See analogous and monochromatic colors of teal on three wheels
Triadic: three hues 120° apart
Split complementary: the two hues beside the complement
Text on teal
| Text | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White | 4.77:1 | Pass | Pass | Fail |
| Black | 4.4:1 | Fail | Pass | Fail |
The ratio is the same either way round, so teal text on a white background is also 4.77:1. Check other pairs in the color contrast checker.
Similar named colors
The CSS named colors closest to teal, by deltaE OK distance.
See all 148 on the color names page.
Closest Tailwind CSS colors
teal-700 v4: teal-700, #00786F, deltaE OK 0.035
teal-700 v3: teal-700, #0F766E, deltaE OK 0.035
In Tailwind CSS v4 it is teal-700 (#00786F), and in v3 teal-700 (#0F766E). For the exact color, use an arbitrary value such as bg-[#008080]. A deltaE OK of around 0.02 is roughly the smallest difference most people notice side by side. Browse every shade on the Tailwind CSS colors page.
Teal with color vision deficiency
An approximation of how teal may look with protanopia, deuteranopia and tritanopia (simulated with Machado, Oliveira and Fernandes, 2009), and with achromatopsia, shown as a gray of the same luminance.
Test a whole palette or image in the color blindness simulator.
Using teal in code
.example {
color: teal; /* named color */
background-color: #008080; /* hex */
border-color: rgb(0, 128, 128);
}
