Skip to content

Yellow green

Yellow green is a medium, rich color from the green family. Hex code #9ACD32.

Yellow green#9ACD32

Color codes

  • CSS nameyellowgreen
  • HEX#9ACD32
  • RGBrgb(154 205 50)
  • HSLhsl(80 61% 50%)
  • HSB / HSVhsb(80, 76%, 80%)
  • OKLCHoklch(78.5% 0.184 126.6)
  • CMYKcmyk(25%, 0%, 76%, 20%)

White text

1.88:1 · fails WCAG

Black text

11.15:1 · passes WCAG AAA

Shades

50#E1FFB7
100#B5EA55
200#99CC31
300#81AE24
400#6A9114
500#567418
600#3F5902
700#2C3F00
800#192700

Complementary

#9ACD32
#CFA1FC

Analogous

#9ACD32
#D4B82F
#1ADB87

Triadic

#9ACD32
#7DC0FB
#FA97AC

About this color

Yellow green in CSS and design

Yellow green is a medium, rich color from the green family. Yellow green 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: yellowgreen;
color: #9ACD32;
color: rgb(154 205 50);
color: hsl(80 61% 50%);

For text on yellow green, 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 yellow green?

#9ACD32. In CSS you can also use the keyword yellowgreen, which works in every browser.

What is yellow green in RGB and HSL?

In RGB it is rgb(154 205 50), in HSL hsl(80 61% 50%). For print, cmyk(25%, 0%, 76%, 20%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on yellow green?

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

Which colors go with yellow green?

Its complementary color is #CFA1FC, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #D4B82F and #1ADB87. The palette generator builds more combinations.