# Teal Color Code: #008080 Hex, RGB & Palettes

The CSS teal reference is #008080, rgb(0, 128, 128), or hsl(180, 100%, 25.1%). Brand shades may differ. HEX and RGB encode the same sRGB reference; HSL is rounded to two decimals. These are screen values, not a CMYK print specification.

## Tints and shades

Illustrative mixes with white or black in encoded sRGB channels, not a perceptually uniform scale.

| Shade | HEX | RGB | HSL | Black text contrast | White text contrast |
| --- | --- | --- | --- | --- | --- |
| Tint 80% | #CCE6E6 | rgb(204, 230, 230) | hsl(180, 34.21%, 85.1%) | 16.03:1 | 1.31:1 |
| Tint 40% | #66B3B3 | rgb(102, 179, 179) | hsl(180, 33.62%, 55.1%) | 8.66:1 | 2.42:1 |
| Reference | #008080 | rgb(0, 128, 128) | hsl(180, 100%, 25.1%) | 4.40:1 | 4.77:1 |
| Shade 25% | #006060 | rgb(0, 96, 96) | hsl(180, 100%, 18.82%) | 2.84:1 | 7.39:1 |
| Shade 50% | #004040 | rgb(0, 64, 64) | hsl(180, 100%, 12.55%) | 1.81:1 | 11.62:1 |

## Text contrast

AA ordinary text requires at least 4.5:1; large text requires at least 3:1. Large text is at least 18pt, or 14pt bold. Use unrounded ratios for decisions. Color pairs alone cannot certify accessibility; review criteria, states, context, and exceptions.

Do not infer contrast from the hue name. The reference teal and its lighter tints behave differently against white; check each state separately.

## How to use teal in product design

Teal sits between green and blue and can support a distinct brand action or navigation accent. Choose whether it means interaction, status, or identity before applying it throughout a product.

### A UI example to try

A workspace switcher can use teal for its selected workspace marker while retaining a check icon and workspace name. Use neutral treatments for inactive options.

### Work through a real screen

Build an informational card with a teal accent, neutral body text, and a clear action. Decide whether teal expresses the brand or a product state; keep that role stable across the interface. Review the same card beside success messages so users do not need to infer meaning from a subtle green-blue difference.

### Compare nearby colors by purpose

Compare teal with cyan for lighter emphasis and green when the task involves status conventions. Preserve distinct semantic names if the roles differ, even when the selected values happen to look similar in one theme.

1. Choose a foreground, surface, accent, or status role and name a semantic token after its purpose.
2. Test the actual pair, text size, interaction states, and themes.
3. Document the approved value and companion colors. Keep labels and non-color cues for states.

## CSS palette

Illustrative numeric tokens; connect tested pairs to semantic roles.

```css
:root {
  --teal-100: #CCE6E6;
  --teal-300: #66B3B3;
  --teal-500: #008080;
  --teal-700: #006060;
  --teal-900: #004040;
}
```

## What is the HEX code for teal?

The CSS named color teal is #008080. Use a documented brand token when you mean another shade.

## Is teal accessible?

A color alone cannot pass or fail accessibility. Evaluate the pair, content size, interaction state, and meaning in the complete interface.

## Related colors

- [green color codes](https://designproject.io/resources/colors/green/)

- [cyan color codes](https://designproject.io/resources/colors/cyan/)

- [navy color codes](https://designproject.io/resources/colors/navy/)

## Sources and next steps

By The Design Project. UI examples and generated scales are illustrative.

- [MDN CSS named colors](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/named-color)
- [W3C contrast guidance](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html)
- [UI color palette guide](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Semantic color tokens](https://designproject.io/resources/guides/create-semantic-color-tokens/)
- [Color contrast checker](https://designproject.io/resources/guides/check-color-contrast/)
- [Design glossary](https://designproject.io/resources/glossary/)

Canonical: https://designproject.io/resources/colors/teal/

## Keep learning

- [How to create a UI color palette, step by step](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Product design glossary: 44 terms explained](https://designproject.io/resources/glossary/)
- [How to create semantic color tokens for UI](https://designproject.io/resources/guides/create-semantic-color-tokens/)
