#008080
teal
#008080 is a cyan colour. In RGB it is 0 red, 128 green and 128 blue, which converts to a hue of 180 degrees, 100% saturation and 25% lightness. It is one of the named CSS colours, written as teal in stylesheets.
Color values
| HEX | #008080 |
|---|---|
| RGB | rgb(0, 128, 128) |
| HSL | hsl(180, 100%, 25%) |
| HSV | hsv(180, 100%, 50%) |
| CMYK | cmyk(100%, 0%, 0%, 50%) |
Contrast and accessibility
Against white the contrast ratio is 4.77:1, and against black it is 4.4:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 4.77:1 | AA | AAA |
| Black | 4.4:1 | Fail | AA |
Tints and shades
Lighter tints move #008080 toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #008080; |
|---|---|
| CSS rgb() | color: rgb(0 128 128); |
| Tailwind | bg-[#008080] |
| SwiftUI | Color(red: 0.000, green: 0.502, blue: 0.502) |
| Android | Color.parseColor("#008080") |