# Lime Color Code: #00FF00 Hex, RGB & Palettes

The CSS lime reference is #00FF00, rgb(0, 255, 0), or hsl(120, 100%, 50%). 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% | #CCFFCC | rgb(204, 255, 204) | hsl(120, 100%, 90%) | 18.74:1 | 1.12:1 |
| Tint 40% | #66FF66 | rgb(102, 255, 102) | hsl(120, 100%, 70%) | 16.06:1 | 1.31:1 |
| Reference | #00FF00 | rgb(0, 255, 0) | hsl(120, 100%, 50%) | 15.30:1 | 1.37:1 |
| Shade 25% | #00BF00 | rgb(0, 191, 0) | hsl(120, 100%, 37.45%) | 8.45:1 | 2.48:1 |
| Shade 50% | #008000 | rgb(0, 128, 0) | hsl(120, 100%, 25.1%) | 4.09:1 | 5.14: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.

Lime and CSS green are different keywords. White text on lime is a poor starting pair; test dark labels instead.

## How to use lime in product design

Lime is a bright green accent that can identify a selected category or a small brand detail. Use it sparingly in dense dashboards and compare it with adjacent status colors before assigning a semantic role.

### A UI example to try

A selected plan can use a lime accent strip and a dark “Selected” label. Keep a separate shape or control state so selection remains understandable without color.

### Work through a real screen

Test lime as a small selected accent on a neutral surface, with a clear selected label or indicator. Its brightness can attract attention quickly, so compare the full page before using it across large areas. Use dark content where the actual pair supports it and verify every text size you intend to ship.

### Compare nearby colors by purpose

Compare lime with green for status use and yellow for highlighting. The visual similarity can become confusing in a multi-series chart or mixed-status list. Add labels and another distinguishing cue rather than asking hue alone to carry the difference.

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 {
  --lime-100: #CCFFCC;
  --lime-300: #66FF66;
  --lime-500: #00FF00;
  --lime-700: #00BF00;
  --lime-900: #008000;
}
```

## What is the HEX code for lime?

The CSS named color lime is #00FF00. Use a documented brand token when you mean another shade.

## Is lime 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/)

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

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

## 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/lime/

## 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/)
