Teal hex code

#008080

The hex code for teal is #008080, which is RGB 0, 128, 128. It is the CSS color teal and one of the 16 original HTML colors: no red, and green and blue at half strength.

0

Click a value to copy it. Move the slider to try a lighter or darker version; the code samples further down follow it.

Runs in your browser. Nothing you type is uploaded.

Teal color codes

These are all the same teal, written for different tools. Web and app design use HEX, RGB and HSL, print uses CMYK, and CIE Lab and LCH describe the color the way the eye sees it. Click any code in the tool above to copy it.

FormatValue
HEX#008080
RGBrgb(0, 128, 128)
HSLhsl(180, 100%, 25%)
HSVhsv(180, 100%, 50%)
CMYK100, 0, 0, 50
CIE Lab48.3, -28.8, -8.5
LCH48.3, 30.1, 196.4
Decimal32,896
Binary00000000 10000000 10000000
CSS color nameteal
Teal swatch, hex #008080, with lighter and darker shades

To turn any other code into these values, paste it into the hex to RGB converter.

Which teal hex code should you use?

Different color sites give different codes for teal. These are the four you are most likely to run into, where each one comes from and how they differ.

#008080CSS and HTML color name teal, used by Wikipedia, HTMLColorCodes, Canva and EncycolorpediaA deep blue-green with equal green and blue.
#069494Figma's color libraryLighter and a little brighter.
#008B8BCSS color name darkcyanAlmost the same as teal, slightly brighter.
#40E0D0CSS color name turquoiseMuch lighter and greener. Often confused with teal.

Most sources agree on #008080, so it is the safe choice. Figma's #069494 is the main outlier, and it is noticeably lighter. CSS also has darkcyan, #008B8B, which sits so close to teal that most people cannot tell them apart.

Measured as CIE76 color distance from #008080, #069494 is 7.8, #008B8B is 4.4 and #40E0D0 is 36.6. A distance under about 2.3 is hard to see, so all of these are visibly different from the main code. Codes checked on November 10, 2026.

Teal vs turquoise

Teal is darker and has equal amounts of green and blue. Turquoise, CSS #40E0D0, is much lighter and leans slightly green, with RGB 64, 224, 208. Put another way, teal is about 25 percent lightness in HSL and turquoise about 56 percent.

The names come from different places. Teal is named after a duck and turquoise after the gemstone. If you want a light, tropical blue-green, use turquoise. For a deeper color that works for text and buttons, use teal.

Shades of teal

Teal has many close relatives in CSS, from dark slate gray to light turquoise. All of these work as color names in any stylesheet.

Teal#008080CSS teal
Dark cyan#008B8BCSS darkcyan
Dark slate gray#2F4F4FCSS darkslategray
Cadet blue#5F9EA0CSS cadetblue
Light sea green#20B2AACSS lightseagreen
Dark turquoise#00CED1CSS darkturquoise
Medium turquoise#48D1CCCSS mediumturquoise
Turquoise#40E0D0CSS turquoise

Light teal and dark teal

Each step mixes teal with 10 percent more white (tints) or black (shades), so the hue stays the same. Click a step to copy it.

0080801A8D8D3399994CA6A666B3B380C0C099CCCCB2D9D9CCE6E6E6F2F2
#008080White
008080007373006666005A5A004D4D004040003333002626001A1A000D0D
#008080Black

Colors that go with teal

Teal is cool and fairly dark, so warm colors stand out well against it. Coral and gold are the classic pairs, and cream keeps it calm.

Coral#FF7F50The opposite side of the wheel, bright and summery.
Gold#FFD700Warm and rich, common for logos and invitations.
Cream#FFFDD0A soft background that lets teal stand out.
Brown#964B00Earthy, popular in interiors.
Navy blue#000080Two cool colors at different depths, good for a nautical look.

Matches from the color wheel

ComplementaryThe opposite side of the wheel
#008080, #800000
Split complementaryThe two colors beside the opposite
#008080, #800040, #804000
AnalogousNeighbors 30 degrees either side
#008040, #008080, #004080
TriadicThree colors 120 degrees apart
#008080, #800080, #808000

These come from rotating the hue of #008080 (180 degrees) around the color wheel while keeping its saturation and lightness. They fit together in theory, but check them in your design: a wheel match is a starting point, not a rule.

Teal color palettes

Three palettes built around teal, each with a light color for backgrounds and a dark one for text. Click a palette to copy all five codes.

Teal and coralCool teal with one warm accent.
#E0F2F1, #20B2AA, #008080, #FF7F50, #1F2D2D
OceanLight aqua down to navy.
#F0FAFA, #48D1CC, #008080, #004D4D, #000080
Teal and goldA warm metal against deep blue-green.
#FFFDD0, #D4AF37, #008080, #2F4F4F, #1A1A1A

What colors make teal?

On a screen

On #008080, red is zero and green and blue are both at 128, which is 50 percent. That is cyan at half brightness. Raise green and blue together and it moves toward turquoise and then cyan. Add a little red and it turns grayer, like cadet blue #5F9EA0.

With paint

Mix blue and green in about equal parts. A touch of black or a drop of the opposite color, red, makes it deeper. Add white for a lighter, softer teal. A cyan or phthalo blue mixed with a little yellow gets there faster than a purple-leaning blue.

Is text readable on teal?

WCAG asks for a contrast ratio of at least 4.5 to 1 for normal text and 3 to 1 for large text, which means 24px, or 19px bold. White text on #008080 is the readable choice.

PairingContrastNormal textLarge text
White text on teal4.77:1PassesPasses
Black text on teal4.40:1FailsPasses

How teal looks with color blindness

Normal vision#008080
Protanopia#777980No red cones
Deuteranopia#676E81No green cones
Tritanopia#008580No blue cones
Achromatopsia#737373No color vision

With red-green color blindness teal turns gray, #777980 with protanopia, so teal and gray buttons can look identical to some users. These are approximate simulations using the Machado matrices for full color blindness. Color blindness affects about 1 in 12 men and 1 in 200 women, mostly the red-green types, so do not use teal as the only signal for something like an error or a selected state.

Teal in binary

A hex code is three bytes, one each for red, green and blue. Each pair of hex digits is one byte, and each byte is 8 bits. This is how #008080 is stored:

ChannelHexDecimalBinaryBits that are on
Red000000000000
Green8012810000000128
Blue8012810000000128

Joined together that is 000000001000000010000000, a 24-bit number equal to 32,896 in decimal. The hex to binary converter does the same for any hex value.

Teal in CSS and code

Copy the version for your stack. The tool above updates these if you change the lightness.

/* CSS */
:root { --teal: #008080; }
.button { background: var(--teal); color: #FFFFFF; }

<!-- Tailwind -->
<button class="bg-[#008080] text-[#FFFFFF]">Button</button>

// SwiftUI
Color(red: 0.000, green: 0.502, blue: 0.502)

<!-- Android colors.xml -->
<color name="teal">#008080</color>

# Python
teal = (0, 128, 128)

Teal color meaning

Teal sits between blue and green, so it borrows the calm of blue and the freshness of green. Healthcare, finance and travel brands use it often, and it works as a bolder alternative to plain blue.

Where the name comes from

The color is named after the Eurasian teal, a small duck with a blue-green stripe on its head, and was first recorded as a color name in English in 1917. On the web, teal is one of the 16 color names in the original HTML specification, and the CSS Color specification still defines it as #008080.

Frequently asked questions

What is the hex code for teal?

The teal hex code is #008080, RGB 0, 128, 128. It is the CSS and HTML color name teal.

What is the RGB code for teal?

RGB 0, 128, 128. Red is off, and green and blue are at half strength.

Is teal blue or green?

Both, in equal amounts. Its hue is 180 degrees, exactly halfway between green at 120 and blue at 240.

What is the difference between teal and turquoise?

Teal #008080 is darker. Turquoise #40E0D0 is much lighter and slightly greener, and is named after the gemstone.

What colors make teal?

Blue and green in about equal parts, made darker with a little black. On a screen, it is green and blue at the same level with no red.

What color text goes on teal?

White, by a small margin. White on #008080 has a contrast ratio of 4.77 to 1, which passes WCAG for normal text. Black is 4.40 to 1, which only passes for large text.

Scroll to Top