Free Accessible CSS Gradient Generator

← All Colors
#32CD32 Lime Green

Lime Green Hex Code #32CD32

Lime Green is a light, strong green with the hex code #32CD32. In RGB it is 50, 205, 50, and in HSL it is 120°, 61%, 50%. It is one of the 148 named colors in CSS, so you can write “limegreen” instead of the hex code.

HEX
#32CD32
RGB
rgb(50, 205, 50)
HSL
hsl(120, 61%, 50%)
HSV
hsv(120°, 76%, 80%)
CMYK
cmyk(76%, 0%, 76%, 20%)
CSS name
limegreen

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Lime Green

On a white background Lime Green has a contrast ratio of 2.12:1 (Fail), and on black 9.91:1 (AAA). Black text is the better choice on top of it.

It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.

Green suggests growth, health and success, so it is common for confirmations, finance and eco brands. Check text contrast carefully, because many mid-tone greens fall short of the WCAG minimum with white text.

Shades and tints of Lime Green

Tints mix Lime Green with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Lime Green

These schemes are calculated from Lime Green on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Lime Green is #CD3232, close to the named color Firebrick.

Lime Green contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Lime Green scores against white and black.

Contrast of Lime Green with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 2.12:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 9.91:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Lime Green2.12:1
Aa Black text on Lime Green9.91:1

Lime Green and color blindness

These are approximate previews of how Lime Green can look with the main types of color vision deficiency.

Protanopia #D1B90D

Lime Green changes noticeably.

Deuteranopia #C0AE43

Lime Green changes noticeably.

Tritanopia #00C7B0

Lime Green changes noticeably.

Achromatopsia #B2B2B2

Lime Green changes noticeably.

Gradients with Lime Green

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Lime Green to a lighter tint

background: linear-gradient(135deg, #32cd32 0%, #adebad 100%);

Lime Green to its analogous neighbour

background: linear-gradient(135deg, #32cd32 0%, #32cd80 100%);

Lime Green to its complement

background: linear-gradient(135deg, #32cd32 0%, #cd32cd 100%);

Colors similar to Lime Green

How each close match differs from Lime Green.

More green colors →

Use Lime Green in code

CSS
.element {
  color: #32cd32;
  background-color: #32cd32;
  border-color: limegreen;   /* limegreen is a valid CSS color name */
}
CSS variable
:root {
  --color-lime-green: #32cd32;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#32cd32] text-[#32cd32] border-[#32cd32]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-lime-green: #32cd32;
}

Lime Green questions

What is the hex code for Lime Green?

The hex code for Lime Green is #32CD32. In RGB that is rgb(50, 205, 50), and in HSL it is hsl(120, 61%, 50%).

What is the complementary color of Lime Green?

On the RGB (screen) color wheel, the complement of Lime Green is #CD32CD, which is close to Medium Orchid. On the artist’s RYB wheel it is #CD3232, close to Firebrick.

Should I use white or black text on Lime Green?

Black text. It has a contrast ratio of 9.91:1 against Lime Green, which is WCAG AAA. The other option scores 2.12:1.

Is Lime Green accessible as a text color on white?

No. Lime Green on white scores 2.12:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Lime Green?

Mixing Lime Green with black gives #28A428, #1E7B1E, #145214, #0A290A (20% to 80% black). Mixing it with white gives #5BD75B, #84E184, #ADEBAD, #D6F5D6 (20% to 80% white).

More color tools