Skip to content

Chartreuse

Hex #7FFF00, rgb(127 255 0). A green CSS named color.

Open in palette generator

Chartreuse color codes

Click any value to copy it.

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

About Chartreuse

Chartreuse is a very light vivid green with the hex code #7FFF00. In RGB it is made of 127 red, 255 green and 0 blue; in HSL its hue is 90°, with 100% saturation and 50% lightness. Its perceptual lightness (OKLCH L) is 89.0%.

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

Tints, shades and tones

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

Tints (with white)

Shades (with black)

Tones (with gray)

Chartreuse 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 Chartreuse

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 Chartreuse with white and black. The readable text color on Chartreuse is black.

Chartreuse textSmall text on white

On white1.30:1

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

APCA Lc 14

Chartreuse textSmall text on black

On black16.21:1

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

APCA Lc -90

Black text on Chartreuse (#000000)

Test any pair in the contrast checker.

Color blindness preview

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

  • Protanopia#FFE800
  • Deuteranopia#F8DE39
  • Tritanopia#79F5D9
  • Protanomaly#EDEE00
  • Deuteranomaly#E5E72F
  • Tritanomaly#78FB99
  • Achromatopsia#E2E2E2

Colors similar to Chartreuse

The closest named colors by perceptual difference (OKLab).

Use Chartreuse in CSS and Tailwind

CSS
.chartreuse {
  color: chartreuse; /* #7FFF00 */
  background-color: rgb(127 255 0);
  border-color: oklch(89% 0.265 136);
}
Tailwind CSS
/* Tailwind CSS v4: bg-chartreuse-500, text-chartreuse-700... */
@theme {
  --color-chartreuse-50: #F2FFEC;
  --color-chartreuse-100: #CCFFB4;
  --color-chartreuse-200: #7FFF00;
  --color-chartreuse-300: #6EDF00;
  --color-chartreuse-400: #59B600;
  --color-chartreuse-500: #4B9C00;
  --color-chartreuse-600: #3F8600;
  --color-chartreuse-700: #326C00;
  --color-chartreuse-800: #275600;
  --color-chartreuse-900: #1E4600;
  --color-chartreuse-950: #081C00;
}

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