Lime Color
HEX #00FF00 · rgb(0, 255, 0) · hsl(120, 100%, 50%)
Lime color codes
Lime is one of the named colors every browser understands. In CSS you can write it as lime or #00FF00.
| Format | Value | |
|---|---|---|
| HEX | #00FF00 | |
| RGB | rgb(0, 255, 0) | |
| HSL | hsl(120, 100%, 50%) | |
| CMYK | 100%, 0%, 100%, 0% | |
| CSS name | lime |
.example {
color: lime;
background-color: #00FF00;
border-color: rgb(0, 255, 0);
}
Colors that go with lime
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of lime
Tints mix the color with white; shades mix it with black.
Lime
Contrast and readability
15.30:1
passes AA and AAA
1.37:1
fails
Use black text on lime. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for lime?
The hex code for lime is #00FF00.
What is the RGB value of lime?
Lime is rgb(0, 255, 0): 0 red, 255 green and 0 blue on a 0 to 255 scale.
What color goes with lime?
Its complementary color is #FF00FF, which is closest to the named color magenta. Analogous and triadic matches are listed on this page.
Should text on lime be black or white?
Use black text. The contrast ratio is 15.30:1 with black and 1.37:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.