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.
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.
| Format | Value |
|---|---|
| HEX | #008080 |
| RGB | rgb(0, 128, 128) |
| HSL | hsl(180, 100%, 25%) |
| HSV | hsv(180, 100%, 50%) |
| CMYK | 100, 0, 0, 50 |
| CIE Lab | 48.3, -28.8, -8.5 |
| LCH | 48.3, 30.1, 196.4 |
| Decimal | 32,896 |
| Binary | 00000000 10000000 10000000 |
| CSS color name | teal |

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.
teal, used by Wikipedia, HTMLColorCodes, Canva and EncycolorpediaA deep blue-green with equal green and blue.darkcyanAlmost the same as teal, slightly brighter.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.
tealdarkcyandarkslategraycadetbluelightseagreendarkturquoisemediumturquoiseturquoiseLight 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.
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.
Matches from the color wheel
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.
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.
| Pairing | Contrast | Normal text | Large text |
|---|---|---|---|
| White text on teal | 4.77:1 | Passes | Passes |
| Black text on teal | 4.40:1 | Fails | Passes |
How teal looks with color blindness
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:
| Channel | Hex | Decimal | Binary | Bits that are on |
|---|---|---|---|---|
| Red | 00 | 0 | 00000000 | 0 |
| Green | 80 | 128 | 10000000 | 128 |
| Blue | 80 | 128 | 10000000 | 128 |
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.