Free tool · Color palettes · Runs in your browser

Color palette for teal

No uploadRuns in your browserReviewed October 10, 2026

Short answer

Teal is #008080: the CSS color named teal, defined by the W3C, written rgb(0, 128, 128) or hsl(180, 100%, 25%). Its complement is #800000; analogous colors are #008040 and #004080; a triad adds #800080 and #808000.

#008080 · rgb(0, 128, 128) · hsl(180, 100%, 25%) · contrast 4.77:1 on white, 4.40:1 on black

Complementary

Analogous

Triadic

Split complementary

Tetradic (rectangle)

Square

Tints (toward white)

Shades (toward black)

CSS variables for the analogous palette
:root {
  --color-1: #008040;
  --color-2: #008080;
  --color-3: #004080;
}

Nothing is uploaded. Click a color to copy its hex code.

Key takeaways

  • Teal is #008080, rgb(0, 128, 128), hsl(180, 100%, 25%), CIELAB 48.3, -28.8, -8.5.
  • Contrast: 4.8:1 on white and 4.4:1 on black. White text on teal passes the WCAG AA minimum of 4.5:1.
  • Its complement is #800000; the analogous colors are #008040 and #004080; the triad is #008080, #800080, #808000.
  • 0 of the 9 tints and 9 of the 9 shades have at least 4.5:1 on a white background; the first shade that does is #007373.
  • Photographs rich in teal gave #164152, #1E545F, #2B6A75, #478C99, #398179, #6BB4BE; the nearest of their colors to #008080 was 4.2 CIEDE2000 units away.
  • For people with deuteranopia the closest pair in the triad is 16.1 apart, against 33.5 for typical vision.

Measured: a palette for teal, from photographs

On white it has a contrast ratio of 4.8:1 (passes the WCAG AA minimum of 4.5:1 for normal text) and on black 4.4:1. A palette extracted from three photographs rich in teal (76%, 21% and 20% of their pixels near the hue) came out as #164152, #1E545F, #2B6A75, #478C99, #398179, #6BB4BE.

We searched Wikimedia Commons for teal subjects and kept photographs under Creative Commons or public domain licenses. Of 12 candidates we kept the three with the largest share of pixels within 25 degrees of the hue of the color, with saturation of at least 30% and lightness between 15% and 70%. The tool's own palette code (k-means in CIELAB, no random numbers) found five colors in each photograph. The six colors in the table below come from only the pixels inside the color window, from the three photographs, so they are six shades and neighbors of teal rather than the whole picture.

Six shades of teal found in the three photographs, most common first.
ColorShareNearest CSS nameContrast on whiteContrast on black
#16415238.6%near darkslategray10.98:11.91:1
#1E545F28.5%near darkslategray8.44:12.49:1
#2B6A7519.0%near teal6.14:13.42:1
#478C995.5%near cadetblue3.83:15.48:1
#3981794.6%near teal4.57:14.59:1
#6BB4BE3.7%near cadetblue2.36:18.90:1

Teal appears here as near darkslategray, near darkslategray, near teal, near cadetblue, near teal, near cadetblue. The photo palette is a starting point: colors from a photograph are rarely pure, and the table shows how each performs as text on white and black.

Measured: the photographs

The photographs and the five colors found in each (percent of pixels).
PhotographPhotographer, licensePixels near the hueFive colors
Phytoplankton Bloom in the Barents SeaNASA Goddard Space Flight Center from Greenbelt, MD, USA, CC BY 2.076%#154353 46%, #23606B 31%, #8D9194 10%, #586B71 7%, #3C807A 7%
Parque estadual ilha do cardoso-THIAGO CAMPIThiago Campi, CC BY-SA 4.021%#BD8377 33%, #5F96A0 22%, #426C75 18%, #BFC3C5 15%, #30464D 12%
Phytoplankton bloom in the Black SeaNASA Goddard Space Flight Center from Greenbelt, MD, USA, Public domain20%#353F24 38%, #264F5A 24%, #122629 16%, #606658 15%, #AAABA5 7%

The photographs are credited with their Wikimedia Commons license. The extracted lists are the exact tool output.

Colors that go with teal

Color harmonies built on #008080, with how well each can be told apart (CIEDE2000, higher is easier; about 1 is a just noticeable difference).
HarmonyColorsClosest pair, typical visionProtanopiaDeuteranopiaTritanopia
Complementary#008080, #80000054.034.234.956.0
Analogous#008040, #008080, #00408020.524.021.74.3
Triadic#008080, #800080, #80800033.528.016.129.1
Split complementary#008080, #800040, #80400032.926.118.76.1
Tetradic (rectangle)#008080, #000080, #800000, #80800033.529.420.929.3
Square#008080, #400080, #800000, #40800028.827.215.16.9

The complement, #800000, sits opposite #008080 on the color wheel (hue + 180 degrees); Wikipedia's color scheme article describes analogous schemes as neighbors on the wheel and a triadic scheme as colors 120 and 240 degrees apart. Under protanopia, deuteranopia and tritanopia the colors are simulated with the Machado model at full severity; a closest pair below about 10 is hard to tell apart.

Teal in numbers

Teal in the common color notations.
NotationValue
Hex#008080
RGBrgb(0, 128, 128)
HSLhsl(180.0, 100.0%, 25.1%)
CMYK (simple conversion)100%, 0%, 0%, 50%
CIELAB (D65)48.3, -28.8, -8.5
Nearest CSS color nameteal #008080 (exact)
Contrast on white4.77:1
Contrast on black4.40:1

Tints, shades and accessible text

Tints and shades of #008080 in 10% steps, with contrast on a white background.
StepTint (toward white)Contrast on whiteShade (toward black)Contrast on white
10%#1A8D8D4.01:1#0073735.68:1
20%#3399993.41:1#0066666.79:1
30%#4DA6A62.87:1#005A5A8.05:1
40%#66B3B32.42:1#004D4D9.68:1
50%#80C0C02.06:1#00404011.62:1
60%#99CCCC1.77:1#00333313.80:1
70%#B3D9D91.52:1#00262616.09:1
80%#CCE6E61.31:1#001A1A18.06:1
90%#E6F2F21.14:1#000D0D19.75:1

0 tints and 9 shades reach 4.5:1 against white. The WCAG success criterion 1.4.3 asks for at least 4.5:1 for normal text and 3:1 for large text; criterion 1.4.6 asks for 7:1 for the enhanced level.

Use it in CSS

:root { --teal-1: #164152; --teal-2: #1e545f; --teal-3: #2b6a75; --teal-4: #478c99; --teal-5: #398179; --teal-6: #6bb4be; }

The complement and analogous colors of #008080: #800000, #008040, #004080.

Free tools:Color palette generatorPalette from an imageImage to textCompress an image

Check the contrast before you use it for text

  • Teal #008080 on white: 4.77:1; on black: 4.40:1.
  • The darkest shade in the table, #000D0D, reaches 19.75:1 on white.
  • Large text (at least 18 point, or 14 point bold) needs 3:1; normal text needs 4.5:1; the enhanced level needs 7:1.
  • Do not use color as the only way to tell things apart: about 1 in 12 men have a color vision deficiency.

How the numbers were made

The hex value of teal is the W3C CSS named color. Harmonies rotate the hue in HSL and keep saturation and lightness. Contrast follows the WCAG 2 definition with relative luminance. Color differences use CIEDE2000, which Wikipedia notes is designed so that a difference of 1.0 stands for a just noticeable difference. Color blindness is simulated with the matrices of Machado, Oliveira and Fernandes (2009) at severity 1.0. Palette extraction: pixels are grouped into 32 levels per channel and clustered with k-means in CIELAB; the same picture always gives the same palette. The accuracy test on pictures of known colors is on the palette generator page.

Questions people ask

What is the hex code for teal?

Teal is #008080 (the W3C CSS named color), rgb(0, 128, 128).

What color goes with teal?

The complement of #008080 is #800000. Analogous colors are #008040 and #004080; a triad is #008080, #800080, #808000.

Is #008080 accessible for text?

On white it has 4.77:1 and on black 4.40:1. The WCAG AA minimum for normal text is 4.5:1, so white text on #008080 passes.

Can people with color blindness tell the teal palette apart?

For the six colors of the photo palette, the closest pair is 7.5 apart for typical vision and 5.7 for deuteranopia (CIEDE2000; below about 10 is hard).

How was the palette made?

The tool found the dominant colors of the photographs with k-means clustering in CIELAB. It runs in your browser; you can do the same with your own picture on the palette from image page.

Can I use these colors commercially?

Colors themselves are not licensed. The photographs used to find them keep their Creative Commons licenses, shown in the table.

Can I get a palette from my own photo?

Yes. Use the palette from an image tool; nothing is uploaded.

How many colors should a palette have?

Many designs use five: one dominant, one or two supporting, one accent and a neutral. The tool lets you choose 3 to 10 when you extract from a picture.

What is the difference between tints and shades?

A tint mixes the color with white and a shade mixes it with black. The table shows nine of each in steps of 10%.

Related

Sources and how we checked

  1. W3C: CSS Color Module Level 4 (named colors) (read 2026-10-10)
  2. W3C: Understanding Success Criterion 1.4.3, Contrast (Minimum) (read 2026-10-10)
  3. W3C: Understanding Success Criterion 1.4.6, Contrast (Enhanced) (read 2026-10-10)
  4. Wikipedia: Color scheme (read 2026-10-10)
  5. Wikipedia: Color difference (CIEDE2000) (read 2026-10-10)
  6. Machado, Oliveira and Fernandes: A physiologically-based model for simulation of color vision deficiency (2009) (read 2026-10-10)
  7. Wikimedia Commons (the photographs, under the licenses shown) (read 2026-10-10)

Reviewed October 10, 2026. The palettes were found with the tool's own code from Creative Commons photographs; contrast, harmonies and color differences are computed. The files and results are in data/seo/hub/evidence/2026-10-10/palette.