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.

FormatValue
HEX#00FF00
RGBrgb(0, 255, 0)
HSLhsl(120, 100%, 50%)
CMYK100%, 0%, 100%, 0%
CSS namelime
.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.

#FF00FFComplementary
Magenta
#80FF00Analogous
#00FF80Analogous
#0000FFTriadic
Blue
#FF0000Triadic
Red

Tints and shades of lime

Tints mix the color with white; shades mix it with black.

#E6FFE690% white
#BFFFBF75% white
#99FF9960% white
#73FF7345% white
#4DFF4D30% white
#26FF2615% white
#00FF00Base
Lime
#00D90015% black
#00B30030% black
#008C0045% black
#00660060% black
#00400075% black
#001A0090% black

Contrast and readability

Black text
15.30:1
passes AA and AAA
White text
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.