Yellow green
Yellow green is a medium, rich color between yellow and green. Hex code #9ACD32.
Yellow green color codes
- CSS name
yellowgreen - HEX
#9ACD32 - RGB
rgb(154, 205, 50) - HSL
hsl(80, 61%, 50%) - OKLCH
oklch(78.5% 0.184 126.6)
HSB and CMYK values
- HSB / HSV
hsb(80, 76%, 80%) - CMYK
C25 M0 Y76 K20
White text
1.88:1 · fails WCAG
Black text
11.15:1 · passes WCAG AAA
Shades of yellow green
A darker shade of yellow green is #6A9114 (400), and a lighter one is #E1FFB7 (50).
Colors that go with yellow green
Complementary
Analogous
Triadic
The complementary color of yellow green is #6532CD.
Click a color to copy its hex code.
Colors similar to yellow green
- Lime green#32CD32
Slightly darker, more cyan, more vivid
- Dark khaki#BDB76B
Slightly darker, more yellow, more muted
- Light green#90EE90
Lighter, more cyan
- Dark sea green#8FBC8F
Slightly darker, more cyan, much more muted
- Medium aquamarine#66CDAA
More cyan, more muted
- Goldenrod#DAA520
Slightly darker, more orange, more muted
Each compared with yellow green.
About this color
Yellow green in CSS and design
Yellow green is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same yellow green:
color: yellowgreen;
color: #9ACD32;
color: rgb(154, 205, 50);
color: hsl(80, 61%, 50%);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) and in HSL hsl(80, 61%, 50%). In CMYK it is about C25 M0 Y76 K20, though printed colors vary with paper and ink.
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.
What is the complementary color of yellow green?
#6532CD. It sits opposite yellow green on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.
Which colors go with yellow green?
For strong contrast, pair it with its complementary color #6532CD. For a calmer look, combine it with its analogous neighbors #CDB332 and #4CCD32. The palette generator builds more combinations.