Skip to content

Lime

Hex #00FF00, rgb(0 255 0). A green CSS named color.

Open in palette generator

Lime color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Lime

Lime is a light vivid green with the hex code #00FF00. In RGB it is made of 0 red, 255 green and 0 blue; in HSL its hue is 120°, with 100% saturation and 50% lightness. Its perceptual lightness (OKLCH L) is 86.6%.

It is a CSS named color, so you can write "lime" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.37:1 and against black 15.30:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Lime mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Lime 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Lime

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Tetradic

Square

Monochromatic

Contrast and readability

WCAG 2 contrast of Lime with white and black. The readable text color on Lime is black.

Lime textSmall text on white

On white1.37:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc 17

Lime textSmall text on black

On black15.30:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc -86

Black text on Lime (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Lime appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#FFE500
  • Deuteranopia#EFD63A
  • Tritanopia#00F7D9
  • Protanomaly#E3EB00
  • Deuteranomaly#D6E131
  • Tritanomaly#00FC99
  • Achromatopsia#DCDCDC

Colors similar to Lime

The closest named colors by perceptual difference (OKLab).

Use Lime in CSS and Tailwind

CSS
.lime {
  color: lime; /* #00FF00 */
  background-color: rgb(0 255 0);
  border-color: oklch(86.6% 0.295 142.5);
}
Tailwind CSS
/* Tailwind CSS v4: bg-lime-500, text-lime-700... */
@theme {
  --color-lime-50: #F1FFEF;
  --color-lime-100: #BBFFB5;
  --color-lime-200: #00FF00;
  --color-lime-300: #00E000;
  --color-lime-400: #00B700;
  --color-lime-500: #009D00;
  --color-lime-600: #008700;
  --color-lime-700: #006D00;
  --color-lime-800: #005800;
  --color-lime-900: #004800;
  --color-lime-950: #001D00;
}

<!-- or the exact color, no config -->
<div class="bg-[#00FF00] text-[#000000]">…</div>