100% free no uploads no sign-up

lime color code

The hex code for lime is #00FF00, which is rgb(0, 255, 0) in RGB and cmyk(100%, 0%, 100%, 0%) in CMYK. It's a medium, vivid green. It is a built-in CSS colour, so you can also write it as “lime”.

#00FF00lime
White text: 1.37:1 ✗Black text: 15.30:1 ✓ AANearest name: lime

Move the sliders to find a lighter, darker or softer lime; the codes update as you go.

Lime colour codes

HEX#00FF00
RGBrgb(0, 255, 0)
HSLhsl(120, 100%, 50%)
HSV / HSBhsv(120, 100%, 100%)
CMYKcmyk(100%, 0%, 100%, 0%)
Decimal65280
CSS keywordlime

About lime

Lime sits at a hue of 120° on the colour wheel, with 100% saturation and 50% lightness. That makes it a colour that sits between warm and cool: greens and purples like this can be styled warm or cool depending on what you put next to them.

For text, black reads better on lime. Lime as text on a white background has a contrast ratio of 1.37:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 15.3:1, which passes AA for body text.

Tints and shades of lime

Tints mix lime with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#E6FFE6#CCFFCC#B3FFB3#99FF99#80FF80#66FF66#4DFF4D#33FF33#1AFF1A
lime #00FF00
#00E600#00CC00#00B300#009900#008000#006600#004D00#003300#001A00

Colours that go with lime

Complementary — opposite on the colour wheel: maximum contrast

#00FF00#FF00FF

Analogous — neighbours 30° either side: calm and natural

#80FF00#00FF00#00FF80

Triadic — three hues 120° apart: lively but balanced

#00FF00#0000FF#FF0000

Split complementary — the two neighbours of the complement: contrast with less tension

#00FF00#8000FF#FF0080

Tetradic — four hues 90° apart: rich, use one as the main colour

#00FF00#0080FF#FF00FF#FF8000

Lime text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
lime on white1.37:1failfailfail
lime on black15.3:1passpasspass

Check lime against any other colour in the contrast checker.

How lime looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #00FF00protanopia #FFE500deuteranopia #EFD63Atritanopia #00F7D9

Use lime in code

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

Frequently asked questions

What is the hex code for lime?

Lime is #00FF00 (lowercase #00ff00). It's the official value of the CSS keyword “lime”.

What is lime in RGB, HSL and CMYK?

RGB: rgb(0, 255, 0). HSL: hsl(120, 100%, 50%). CMYK: cmyk(100%, 0%, 100%, 0%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with lime?

Its complementary colour is #FF00FF (close to magenta), which gives the strongest contrast. For a calmer look, use the analogous colours #80FF00 and #00FF80, or the triadic pair #0000FF and #FF0000. Tints and shades of lime itself always work together.

Is lime a warm or cool colour?

Lime has a hue of 120°, which makes it neither clearly warm nor cool.

Should I use black or white text on lime?

Black. Black text on lime has a contrast ratio of 15.3:1 and white text has 1.37:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

How do I use lime in CSS?

Write color: lime; or color: #00ff00; — both give the same colour. Named colours work in every browser.

Colours similar to lime