Teal hex code: #008080, with RGB, CMYK and color code

The teal hex code is #008080, which is rgb(0, 128, 128). Teal is a CSS name, so the word and the teal color code mean the same thing. Copy any format below.

Open HEX to RGB converterFree. Nothing uploaded.

Reference

Teal color code in HEX, RGB, HSL, HSV and CMYK

Copy the format your software expects. Each value was generated by code from #008080 rather than typed by hand, so you can mix them in one project without drift.

Teal color code in HEX, RGB, HSL, HSV and CMYK
FormatValue
HEX#008080
RGBrgb(0, 128, 128)
HSLhsl(180, 100%, 25%)
HSV180, 100%, 50%
CMYK100%, 0%, 0%, 50% (simple conversion)

In depth

Teal RGB: no red, and green and blue in balance

Teal RGB is 0, 128, 128. Red is off, and green and blue are at the same half strength. That equal mix is why the hue sits at 180 degrees, halfway between green and blue.

Checklist

Teal in CSS: the keyword and the code are the same

Teal is one of the named colours defined in the W3C CSS Color Module, and its value there is #008080. In a stylesheet, color: teal and color: #008080 give an identical result.

The standard only settles the screen keyword. A paint brand, a sports team or a company may call something teal and use a different code. If you must match a specific item, use the code from its own guide.

The numbers explain the look. Red is 0, while green and blue are both 128. With green and blue in perfect balance the hue lands at exactly 180 degrees in HSL, the midpoint between green at 120 and blue at 240.

  • Written in CSS as teal, #008080, rgb(0, 128, 128) or hsl(180, 100%, 25%).
  • The shorthand #088 is not the same colour: it expands to #008888.
  • The tint rows below add white to #008080 when you need a lighter version of the same hue.

Reference

8 teal variants with their hex codes

Starting from #008080, the three tint rows add 25, 50 and 75 percent white, the two shade rows add 25 and 50 percent black, the muted row adds 40 percent mid grey (#808080), and the last two rows turn the hue by 12 degrees. The +12 row reaches hue 192, which leans toward blue, and the -12 row reaches hue 168, which leans toward green. Saturation (100%) and lightness (25%) stay put in those two, and no colour names are invented.

You can see the shift in the channels: #006680 keeps red at 0, lowers green to 102 and leaves blue at 128, while #008066 keeps green at 128 and lowers blue to 102.

8 teal variants with their hex codes
How it was computedHEXRGBHSL
Tint, 25% white#40A0A0rgb(64, 160, 160)hsl(180, 43%, 44%)
Tint, 50% white#80C0C0rgb(128, 192, 192)hsl(180, 34%, 63%)
Tint, 75% white#BFDFDFrgb(191, 223, 223)hsl(180, 33%, 81%)
Shade, 25% black#006060rgb(0, 96, 96)hsl(180, 100%, 19%)
Shade, 50% black#004040rgb(0, 64, 64)hsl(180, 100%, 13%)
Muted, 40% grey#338080rgb(51, 128, 128)hsl(180, 43%, 35%)
Hue shifted +12 degrees#006680rgb(0, 102, 128)hsl(192, 100%, 25%)
Hue shifted -12 degrees#008066rgb(0, 128, 102)hsl(168, 100%, 25%)

Reference

Teal contrast: a narrow pass with white, a near miss with black

Contrast in WCAG means the ratio of relative luminance between two colours, from 1:1 up to 21:1. Level AA asks for 4.5:1 for normal text and 3:1 for large text and visible control parts. Each row of the table is a background colour, and the columns score white and black lettering set on it.

Teal has a mid-range luminance, so both text colours land near the 4.5:1 line. White lettering on #008080 scores 4.77:1, a pass for normal text with little room to spare. Black lettering scores 4.40:1, just under 4.5:1, so it only suits large text and UI parts.

  • White lettering on plain teal passes, so a teal button with a white label is acceptable; a lighter tint such as #40A0A0 drops to 3.11:1 with white.
  • For a safer margin, use the shade #006060 (7.39:1) or #004040 (11.62:1) behind white text.
  • The muted version #338080 gives 4.63:1 with white and 4.54:1 with black, the only row here that clears 4.5:1 both ways.
  • Pale tints such as #BFDFDF need dark text (14.84:1 with black) and should not carry white lettering.
Teal contrast: a narrow pass with white, a near miss with black
Colour as backgroundHEXWhite text ratioWhite text resultBlack text ratioBlack text result
Main colour#0080804.77:1Passes 4.5:14.40:1Large text and UI parts only (3:1)
Tint, 25% white#40A0A03.11:1Large text and UI parts only (3:1)6.75:1Passes 4.5:1
Tint, 50% white#80C0C02.06:1Fails 3:110.22:1Passes 4.5:1
Tint, 75% white#BFDFDF1.42:1Fails 3:114.84:1Passes 4.5:1
Shade, 25% black#0060607.39:1Passes 4.5:12.84:1Fails 3:1
Shade, 50% black#00404011.62:1Passes 4.5:11.81:1Fails 3:1
Muted, 40% grey#3380804.63:1Passes 4.5:14.54:1Passes 4.5:1
Hue shifted +12 degrees#0066806.54:1Passes 4.5:13.21:1Large text and UI parts only (3:1)
Hue shifted -12 degrees#0080664.91:1Passes 4.5:14.28:1Large text and UI parts only (3:1)

Reference

Teal as a button: base, hover and pressed colours

Here is one way to build the states of a teal button, all computed from #008080. The base, hover and pressed colours carry white text. The two light surfaces carry teal text. This is a suggestion for a starting set, not a standard.

  • Darkening the base for hover and pressed raises the white text ratio, so the label stays easy to read.
  • Teal text on the 90 percent tint scores 4.17:1 and on the 80 percent tint 3.64:1. Both miss 4.5:1, so use them for large teal text or icons only, and use dark text for small copy.
Teal as a button: base, hover and pressed colours
RoleHEXHow it was computedWhite text on itTeal #008080 text on it
Base#008080main colour4.77:1not used
Hover#006666shade, 20% black6.79:1not used
Pressed#004D4Dshade, 40% black9.68:1not used
Light surface#E6F2F2tint, 90% white1.14:14.17:1
Light surface, stronger#CCE6E6tint, 80% white1.31:13.64:1

Reference

Colours that go with teal: four computed palettes

Each partner comes from turning the hue of #008080 on the HSL wheel at 100% saturation and 25% lightness. The complementary code #800000 is the dark red CSS calls maroon. The analogous pair #008040 and #004080 sit 30 degrees toward green and toward blue. In the triadic set, #800080 and #808000 match the CSS colours purple and olive. The split-complementary set adds #800040 and #804000. All of these are dark, so lighten one or two with the tint method when you need a background.

Colours that go with teal: four computed palettes
SchemeHue rotation from the main colourCodes
Complementary180 degrees#800000
Analogous-30 and +30 degrees#008040, #004080
Triadic+120 and +240 degrees#800080, #808000
Split-complementary+150 and +210 degrees#800040, #804000

In depth

Ways to use teal (no industry claims)

Teal can serve as a link, button or chart-series colour on a white page. White lettering on #008080 passes at 4.77:1 by a small margin, so test the exact shade you ship, or step down to #006060 (7.39:1) for more room.

We make no claim about which companies or industries use teal. If you are matching a specific item, take its code from the maker and compare it with the variants above.

Some saturated colours can look different in print, so ask for a proof. The CMYK figure here is a simple conversion with no ICC profile and is only a starting point.

In depth

Try it now: check teal and sample it from an image

To check a teal you already use, enter it in the hex-to-rgb tool. #008080 should match the formats table above, and the tool also reports its contrast against white and black. It takes 3 and 6 digit hex, rgb() and hsl() input, offers a colour picker, and does not upload anything. Try a variant such as #006680 to see how a 12 degree hue shift changes the numbers.

To see how close a photo is to teal, open color-palette-from-image, load the picture and pick 2 to 12 colours. The median-cut method returns the dominant swatches, you can click any pixel for an exact value, and you can copy the set as CSS variables. It all runs on your device. Compare each swatch with the variants table: a result near #338080 is a muted teal.

Limits: the tools read your screen, not a printer or paint chart, and a photo of water includes sky and reflections that shift its colours.

In depth

How this guide was made

The teal code was read from the named colours in the W3C CSS Color Module Level 4 on 14 November 2026. A script then worked out the RGB, HSL, HSV and CMYK forms, the eight variants, the button states, the four palettes and the contrast against white and black, following the W3C contrast definition.

The guide was drafted with AI assistance and its numbers were recomputed from the printed hex codes in an automated check. It makes no claims about which industries use teal, because we had no source for them. Tell us through the contact page if you spot a mistake.

In pictures

See it

Teal color hex swatch showing #008080 and rgb(0, 128, 128)
Teal, #008080, as a flat swatch. The same colour is rgb(0, 128, 128) in RGB.
Nine colour tiles: teal #008080 and the eight computed variants from the table, each labelled with its hex code and how it was computed
The main colour and the eight variants from the table above. Each tile carries its hex code and the method that produced it.
The EditXo HEX to RGB and HSL converter with #008080 typed in, showing its RGB and HSL values and its contrast on white and on black
The HEX to RGB and HSL converter with #008080 entered. It returns the other formats and the contrast against white and black.

FAQ

Frequently asked questions

Short answers to what people ask most about this topic.

All guides

What is the hex code for teal?

The teal hex code is #008080. It is the CSS named colour teal, equal to rgb(0, 128, 128), so writing teal in CSS gives the same colour. Short searches for teal hex land on this value.

What is the teal color code?

The teal color code is #008080. Some people call it the teal color hex. It is the same colour as the CSS word teal.

What is the RGB value of teal?

The teal rgb code is rgb(0, 128, 128). In HSL it is hsl(180, 100%, 25%), and in HSV it is 180, 100%, 50%.

What is the CMYK value of teal?

A simple conversion of #008080 gives 100% cyan, 0% magenta, 0% yellow and 50% black. Printers using ICC profiles will produce different results, so treat these numbers as a starting estimate.

Does white text work on teal?

Yes, narrowly. White on #008080 has a contrast ratio of 4.77:1, just above the WCAG 4.5:1 minimum for normal text. Black text on teal scores 4.40:1, which only suits large text and interface parts.

How do I make teal lighter or darker?

Mix it with white for a lighter tint or with black for a darker shade. For example, a 25% black shade is #006060 and a 50% white tint is #80C0C0, both computed on this page. The button table above also has 20% and 40% black shades.

Do it yourself

Tools used in this guide

Check the numbers

Sources and further reading

Ready to try it?

Use the free tool or the full photo editor. Everything stays on your device.

Open HEX to RGB converterOpen the photo editor