Skip to content

Green yellow

Green yellow is a light, vivid color from the green family. Hex code #ADFF2F.

Green yellow#ADFF2F

Color codes

  • CSS namegreenyellow
  • HEX#ADFF2F
  • RGBrgb(173 255 47)
  • HSLhsl(84 100% 59%)
  • HSB / HSVhsb(84, 82%, 100%)
  • OKLCHoklch(91.3% 0.233 130)
  • CMYKcmyk(32%, 0%, 82%, 0%)

White text

1.22:1 · fails WCAG

Black text

17.12:1 · passes WCAG AAA

Shades

50#DEFFBE
100#A0F107
200#8AD103
300#78B029
400#629319
500#4C7603
600#3A5A06
700#274001
800#172701

Complementary

#ADFF2F
#EDD9FE

Analogous

#ADFF2F
#FDE444
#87FFC3

Triadic

#ADFF2F
#CDE5FF
#FED7DC

About this color

Green yellow in CSS and design

Green yellow is a light, vivid color from the green family. Green yellow is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Use it in CSS by name or by any of its codes; these all give the same color:

color: greenyellow;
color: #ADFF2F;
color: rgb(173 255 47);
color: hsl(84 100% 59%);

For text on green yellow, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for green yellow?

#ADFF2F. In CSS you can also use the keyword greenyellow, which works in every browser.

What is green yellow in RGB and HSL?

In RGB it is rgb(173 255 47), in HSL hsl(84 100% 59%). For print, cmyk(32%, 0%, 82%, 0%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on green yellow?

Black text works better: it has a contrast ratio of 17.12:1 and passes WCAG AAA. White text reaches 1.22:1.

Which colors go with green yellow?

Its complementary color is #EDD9FE, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #FDE444 and #87FFC3. The palette generator builds more combinations.