Green Yellow #ADFF2F

Green Yellow color (#ADFF2F)

Green Yellow is one of the 148 CSS named colors. Use the keyword greenyellow anywhere CSS accepts a color, or its hex code #ADFF2F, which is rgb(173, 255, 47) in RGB.

It is a very light, vivid cool color with a hue angle of 84° on the HSL color wheel and a perceived lightness of 91% in OKLCH. On a green yellow background, black text gives the higher contrast at 17.12:1, which passes WCAG AA for normal text.

Green Yellow color codes

CSS name greenyellow
HEX #ADFF2F
HEX (8-digit) #ADFF2FFF
RGB rgb(173, 255, 47)
HSL hsl(84, 100%, 59%)
HSV / HSB hsv(84, 82%, 100%)
OKLCH oklch(91.3% 0.2335 130)
CMYK cmyk(32.2%, 0%, 81.6%, 0%)

Contrast with white and black

WCAG 2 contrast ratios and APCA lightness contrast (Lc) for green yellow used as text and as a background.

Aa Sample text
Green Yellow text on white
1.22:1 WCAG Lc 10.9 APCA Fails AA
Aa Sample text
Green Yellow text on black
17.12:1 WCAG Lc -93.2 APCA Passes AA
Aa Sample text
White text on green yellow
1.22:1 WCAG Lc -12.7 APCA Fails AA
Aa Sample text
Black text on green yellow
17.12:1 WCAG Lc 92.7 APCA Passes AA

Tints and shades of green yellow

Tints mix green yellow with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.

Tints

Shades

Colors that go with green yellow

Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.

Complementary

Analogous

Triadic

Split-Complementary

Green Yellow with color blindness

Approximately how green yellow appears with each type of color vision deficiency. Test full designs with the color blindness simulator.

Using green yellow in CSS

.element {
  color: greenyellow;
  background-color: #adff2f;
  border-color: rgb(173 255 47 / 50%);
  outline-color: oklch(91.3% 0.2335 130);
}

Similar named colors

See all shades of green or browse every CSS color name.

Related tools