Lime #00FF00
Lime is one of the named colours in CSS, written lime. Black text reaches 15.30:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | lime |
|---|---|
| HEX | #00FF00 |
| RGB | rgb(0 255 0) |
| HSL | hsl(120 100% 50%) |
| OKLCH | oklch(86.6% 0.295 142.5) |
| White text | 1.37:1 · body text AA Fail |
| Black text | 15.30:1 · body text AA Pass |
Colours that go with Lime
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Night Green (#87C540), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Lime itself.
| Colour | HEX | Contrast with Lime | Body text AA |
|---|---|---|---|
| Mars Brown Tobacco | #653514 | 7.38:1 | Pass |
| Cinnamon Rufous | #C27544 | 2.58:1 | Fail |
| Peach Red | #F15A30 | 2.45:1 | Fail |
| Ochraceous Salmon | #D8A37B | 1.62:1 | Fail |
| Yellow Green | #AFD472 | 1.23:1 | Fail |
| Sulpher Yellow | #F5ECC2 | 1.15:1 | Fail |
| Lemon Yellow | #F8ED43 | 1.12:1 | Fail |
Palettes with Night Green
Shades and tints of Lime
Nine lightness steps in OKLCH that keep the hue of Lime. Chroma is reduced only where sRGB cannot show it.
- 100#E1FFDE
- 200#A5FF9D
- 300#00F900
- 400#00D600
- 500#00B100
- 600#008A00
- 700#006900
- 800#004900
- 900#002B00
:root {
--lime-100: #E1FFDE;
--lime-200: #A5FF9D;
--lime-300: #00F900;
--lime-400: #00D600;
--lime-500: #00B100;
--lime-600: #008A00;
--lime-700: #006900;
--lime-800: #004900;
--lime-900: #002B00;
}
Text that keeps Lime on screen
Text #002B00 on #00FF00 reaches 11.37:1, which passes WCAG AA for body text. Check it on a dashboard