Skip to content
Color Codes

CSS named color

Lime Color Code

Lime is a medium, vivid green with the hex code #00FF00. In RGB it is rgb(0, 255, 0), in HSL hsl(120, 100%, 50%) and in CMYK cmyk(100%, 0%, 100%, 0%).

Lime
#00FF00

Color values

In CSS you can write it as the keyword lime.

White text on Lime has a contrast ratio of 1.37:1 and black text 15.30:1, so black text is the more readable choice.

The closest Tailwind CSS color is Lime 400 (#A3E635).

Use Lime in CSS

.element {
  color: lime;
  background-color: #00ff00;
  border-color: rgb(0, 255, 0);
}

Tints and shades of Lime

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with Lime

Color-wheel harmonies built from #00FF00. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on Lime

Aa
White text
1.37:1
Fail
Aa
Black text
15.30:1
AAA
Check in the contrast checker

Colors similar to Lime

Palettes with similar colors

Questions about Lime

What is the hex code for Lime?

The hex code for Lime is #00FF00. Its RGB value is rgb(0, 255, 0) and its HSL value is hsl(120, 100%, 50%).

What colors go with Lime?

The complementary color of Lime is #FF00FF. For a softer scheme try the analogous colors #80FF00 and #00FF80; for a balanced three-color scheme use the triadic colors #0000FF and #FF0000.

Is Lime readable as a text color?

On a white background Lime has a contrast ratio of 1.37:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 15.30:1.

More green colors