Skip to content

Lime

Lime is a medium, vivid color from the green family. Hex code #00FF00.

Lime#00FF00

Lime color codes

  • CSS namelime
  • HEX#00FF00
  • RGBrgb(0, 255, 0)
  • HSLhsl(120, 100%, 50%)
  • OKLCHoklch(86.6% 0.295 142.5)
HSB and CMYK values
  • HSB / HSVhsb(120, 100%, 100%)
  • CMYKC100 M0 Y100 K0

White text

1.37:1 · fails WCAG

Black text

15.30:1 · passes WCAG AAA

Shades of lime

A darker shade of lime is #2EBB2A (300).

Colors that go with lime

Complementary

Analogous

Triadic

The complementary color of lime is #FF00FF, which is magenta.

Click a color to copy its hex code.

Colors similar to lime

Each compared with lime.

About this color

Lime in CSS and design

Lime is one of the 16 basic color keywords, which come from the VGA palette by way of HTML. These four lines all give the same lime:

color: lime;
color: #00FF00;
color: rgb(0, 255, 0);
color: hsl(120, 100%, 50%);

What to know about lime

Lime, #00FF00, is the brightest green a screen can show, with only the green channel lit. The 16 basic colors call it lime and keep green for the darker #008000, while the X11 color list calls #00FF00 simply green. Merriam-Webster defines lime green as a bright, light yellowish green; CSS lime has no yellow in it, and chartreuse (#7FFF00) is closer to that description.

Frequently asked questions

What is the hex code for lime?

#00FF00. In CSS you can also use the keyword lime, which works in every browser.

What is lime in RGB and HSL?

In RGB it is rgb(0, 255, 0) and in HSL hsl(120, 100%, 50%). In CMYK it is about C100 M0 Y100 K0, though printed colors vary with paper and ink.

Should I use black or white text on lime?

Black text works better: it has a contrast ratio of 15.30:1 and passes WCAG AAA. White text reaches 1.37:1.

What is the complementary color of lime?

#FF00FF, which is magenta. It sits opposite lime on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.

Which colors go with lime?

For strong contrast, pair it with its complementary color #FF00FF. For a calmer look, combine it with its analogous neighbors #80FF00 and #00FF80. The palette generator builds more combinations.