Lime Hex Code #00FF00
Lime is a very light, vivid green with the hex code #00FF00. In RGB it is 0, 255, 0, and in HSL it is 120°, 100%, 50%. It is one of the 148 named colors in CSS, so you can write “lime” instead of the hex code.
- HEX
- #00FF00
- RGB
- rgb(0, 255, 0)
- HSL
- hsl(120, 100%, 50%)
- HSV
- hsv(120°, 100%, 100%)
- CMYK
- cmyk(100%, 0%, 100%, 0%)
- CSS name
- lime
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Lime
On a white background Lime has a contrast ratio of 1.37:1 (Fail), and on black 15.30:1 (AAA). Black text is the better choice on top of it.
It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.
Green suggests growth, health and success, so it is common for confirmations, finance and eco brands. Check text contrast carefully, because many mid-tone greens fall short of the WCAG minimum with white text.
Good to know: In CSS, lime is the pure, fully saturated green #00ff00. The keyword green is a darker #008000.
Shades and tints of Lime
Tints mix Lime with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Lime
These schemes are calculated from Lime on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Lime is #FF0000, close to the named color Red.
Lime contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Lime scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 1.37:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 15.30:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Lime and color blindness
These are approximate previews of how Lime can look with the main types of color vision deficiency.
Lime changes noticeably.
Lime changes noticeably.
Lime changes noticeably.
Lime changes noticeably.
Gradients with Lime
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Lime to a lighter tint
background: linear-gradient(135deg, #00ff00 0%, #99ff99 100%); Lime to its analogous neighbour
background: linear-gradient(135deg, #00ff00 0%, #00ff80 100%); Lime to its complement
background: linear-gradient(135deg, #00ff00 0%, #ff00ff 100%); Colors similar to Lime
How each close match differs from Lime.
- Chartreuse #7FFF00 Very close in lightness, saturation and hue.
- Lawn Green #7CFC00 Very close in lightness, saturation and hue.
- Lime Green #32CD32 Darker, more muted.
- Green Yellow #ADFF2F Slightly lighter, more muted.
- Spring Green #00FF7F Very close in lightness, saturation and hue.
- Yellow Green #9ACD32 Slightly darker, more muted.
Use Lime in code
.element {
color: #00ff00;
background-color: #00ff00;
border-color: lime; /* lime is a valid CSS color name */
} :root {
--color-lime: #00ff00;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#00ff00] text-[#00ff00] border-[#00ff00]"></div>
/* Tailwind v4 theme color */
@theme {
--color-lime: #00ff00;
} Lime questions
What is the hex code for Lime?
The hex code for Lime is #00FF00. In RGB that is rgb(0, 255, 0), and in HSL it is hsl(120, 100%, 50%).
What is the complementary color of Lime?
On the RGB (screen) color wheel, the complement of Lime is #FF00FF, which is close to Magenta. On the artist’s RYB wheel it is #FF0000, close to Red.
Should I use white or black text on Lime?
Black text. It has a contrast ratio of 15.30:1 against Lime, which is WCAG AAA. The other option scores 1.37:1.
Is Lime accessible as a text color on white?
No. Lime on white scores 1.37:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Lime?
Mixing Lime with black gives #00CC00, #009900, #006600, #003300 (20% to 80% black). Mixing it with white gives #33FF33, #66FF66, #99FF99, #CCFFCC (20% to 80% white).