Yellow Green color (#9ACD32)
Yellow Green is one of the 148 CSS named colors. Use the keyword yellowgreen
anywhere CSS accepts a color, or its hex code #9ACD32, which is rgb(154, 205, 50) in RGB.
It is a light, vivid cool color with a hue angle of 80° on the HSL color wheel and a perceived lightness of 79% in OKLCH. On a yellow green background, black text gives the higher contrast at 11.15:1, which passes WCAG AA for normal text.
Yellow Green color codes
| CSS name | yellowgreen |
|
|---|---|---|
| HEX | #9ACD32 |
|
| HEX (8-digit) | #9ACD32FF |
|
| RGB | rgb(154, 205, 50) |
|
| HSL | hsl(80, 61%, 50%) |
|
| HSV / HSB | hsv(80, 76%, 80%) |
|
| OKLCH | oklch(78.5% 0.1837 126.6) |
|
| CMYK | cmyk(24.9%, 0%, 75.6%, 19.6%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for yellow green used as text and as a background.
Tints and shades of yellow green
Tints mix yellow green 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 yellow green
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Yellow Green with color blindness
Approximately how yellow green appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using yellow green in CSS
.element {
color: yellowgreen;
background-color: #9acd32;
border-color: rgb(154 205 50 / 50%);
outline-color: oklch(78.5% 0.1837 126.6);
}Similar named colors
See all shades of green or browse every CSS color name.