Skip to content

Teal Color

CSS teal #008080 — equal green and blue at half intensity.

HEX
#008080
RGB
rgb(0, 128, 128)
HSL
hsl(180, 100%, 25.1%)
HSV
hsv(180, 100%, 50.2%)
CMYKapproximation
cmyk(100%, 0%, 0%, 50%)
CSS name
teal

Open teal in the color picker to adjust it or copy other formats.

About teal

#008080 is the CSS named color teal, one of the original 16 HTML colors. It is a half-intensity cyan: green and blue at 128, red at 0. The name comes from the colored band around the eye of the common teal duck.

Teal is darker and more muted than turquoise (#40E0D0) and cyan (#00FFFF). darkcyan (#008B8B) is almost identical, just a little brighter.

#008080 is the value of the CSS named color teal, defined in the CSS Color specification and identical in every browser.

Other colors called teal

  • Dark cyan (CSS) #008B8BNearly identical, marginally lighter.
  • Turquoise (CSS) #40E0D0A much brighter blue-green.

Teal shades and tints

Shades mix teal with black, tints mix it with white — useful for hover states, borders and backgrounds. Click a swatch to copy its HEX code.

Colors that go with teal

Color harmonies based on the hue of #008080: its complement on the opposite side of the color wheel, its analogous neighbours and its triadic partners.

Teal contrast and readability

On a teal background, white text reads best (4.77:1). Here is how teal works as a text color:

#008080 on white

4.77:1

Normal text sample

Large text

  • AA normal text (4.5:1)Pass
  • AA large text (3:1)Pass
  • AAA normal text (7:1)Fail
  • AAA large text (4.5:1)Pass

#008080 on black

4.39:1

Normal text sample

Large text

  • AA normal text (4.5:1)Fail
  • AA large text (3:1)Pass
  • AAA normal text (7:1)Fail
  • AAA large text (4.5:1)Fail

Teal is dark enough for white text and readable as text on white, which makes it a versatile brand and button color. It pairs well with coral, orange and warm neutrals.

Using teal in CSS and HTML

CSS custom property
:root {
  --color-teal: #008080;
}

.highlight {
  background-color: var(--color-teal);
}
Background and text color
.banner {
  background-color: teal;
  color: #ffffff;
}

.label {
  color: #008080;
  border: 2px solid rgb(0, 128, 128);
}
Inline style in HTML
<p style="background-color: #008080; color: #FFFFFF;">
  Teal background
</p>

Teal color FAQ

What is the HEX code for teal?
Teal is #008080 in HEX and rgb(0, 128, 128) in RGB. It is also the CSS named color teal, so color: teal and color: #008080 give exactly the same result.
What is teal in CMYK?
Approximately 100%, 0%, 0%, 50% (cyan, magenta, yellow, black). This is the standard profile-free conversion of #008080; for professional print, check the value against your printer's color profile.
What colors go with teal?
Its complementary color is #800000, and #008040 and #004080 sit next to it on the color wheel as analogous colors. White, black and gray always work as neutral partners; the matching colors above show more combinations.
Should I use black or white text on teal?
White text: it has a contrast ratio of 4.77:1 on #008080, which meets WCAG AA for normal text.