Free Accessible CSS Gradient Generator

← All Colors
#7FFF00 Chartreuse

Chartreuse Hex Code #7FFF00

Chartreuse is a very light, vivid green with the hex code #7FFF00. In RGB it is 127, 255, 0, and in HSL it is 90°, 100%, 50%. It is one of the 148 named colors in CSS, so you can write “chartreuse” instead of the hex code.

HEX
#7FFF00
RGB
rgb(127, 255, 0)
HSL
hsl(90, 100%, 50%)
HSV
hsv(90°, 100%, 100%)
CMYK
cmyk(50%, 0%, 100%, 0%)
CSS name
chartreuse

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

About Chartreuse

On a white background Chartreuse has a contrast ratio of 1.30:1 (Fail), and on black 16.21: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 Chartreuse

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

Color harmonies for Chartreuse

These schemes are calculated from Chartreuse 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 Chartreuse is #FF00B4, close to the named color Deep Pink.

Chartreuse 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 Chartreuse scores against white and black.

Contrast of Chartreuse with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 1.30:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 16.21:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Chartreuse1.30:1
Aa Black text on Chartreuse16.21:1

Chartreuse and color blindness

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

Protanopia #FFE800

Chartreuse changes noticeably.

Deuteranopia #F8DE39

Chartreuse changes noticeably.

Tritanopia #79F5D9

Chartreuse changes noticeably.

Achromatopsia #E2E2E2

Chartreuse changes noticeably.

Gradients with Chartreuse

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

Chartreuse to a lighter tint

background: linear-gradient(135deg, #7fff00 0%, #ccff99 100%);

Chartreuse to its analogous neighbour

background: linear-gradient(135deg, #7fff00 0%, #00ff00 100%);

Chartreuse to its complement

background: linear-gradient(135deg, #7fff00 0%, #8000ff 100%);

Colors similar to Chartreuse

How each close match differs from Chartreuse.

More green colors →

Use Chartreuse in code

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

/* Tailwind v4 theme color */
@theme {
  --color-chartreuse: #7fff00;
}

Chartreuse questions

What is the hex code for Chartreuse?

The hex code for Chartreuse is #7FFF00. In RGB that is rgb(127, 255, 0), and in HSL it is hsl(90, 100%, 50%).

What is the complementary color of Chartreuse?

On the RGB (screen) color wheel, the complement of Chartreuse is #8000FF, which is close to Blue. On the artist’s RYB wheel it is #FF00B4, close to Deep Pink.

Should I use white or black text on Chartreuse?

Black text. It has a contrast ratio of 16.21:1 against Chartreuse, which is WCAG AAA. The other option scores 1.30:1.

Is Chartreuse accessible as a text color on white?

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

What are darker and lighter shades of Chartreuse?

Mixing Chartreuse with black gives #66CC00, #4C9900, #336600, #193300 (20% to 80% black). Mixing it with white gives #99FF33, #B2FF66, #CCFF99, #E5FFCC (20% to 80% white).

More color tools