Lime Color Code (#00ff00)

Lime is #00ff00 in hex and rgb(0, 255, 0) — a medium green. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Lime
#00ff00
CSS namelime
Hex#00ff00
RGBrgb(0, 255, 0)
HSLhsl(120 100% 50%)
HWBhwb(120 0% 0%)
CMYK100%, 0%, 100%, 0%

Tints and shades

Color harmonies

About Lime

Lime (lime) is a medium, vivid green with the hex code #00ff00, or rgb(0, 255, 0). In HSL it sits at a hue of 120°, 100% saturation and 50% lightness. It is one of the 148 named colors every browser understands, so you can write color: lime; instead of the hex value.

Using Lime for text and backgrounds

PairingContrast ratioWCAG
Lime text on white1.37 : 1fails
Lime text on black15.30 : 1AAA

On a lime background, use black text (15.30 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: lime;               /* or #00ff00 */
  background-color: #00ff00;
  border: 1px solid rgb(0 255 0 / 50%);
}

Similar named colors

Lime Green (#32cd32), Lawn Green (#7cfc00), Forest Green (#228b22), Chartreuse (#7fff00), Green (#008000), Spring Green (#00ff7f).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for lime?
#00ff00 — that is rgb(0, 255, 0) and hsl(120, 100%, 50%). In CSS you can also just write lime.
Is lime text readable on white?
Its contrast ratio on white is 1.37 : 1, which fails WCAG — use it for decoration or on a dark background instead.
What colors go well with lime?
Its complementary color is #ff00ff; analogous colors #80ff00 and #00ff80 sit next to it on the color wheel.