Skip to content
Color Codes

CSS named color

YellowGreen Color Code

YellowGreen is a medium, moderately saturated green with the hex code #9ACD32. In RGB it is rgb(154, 205, 50), in HSL hsl(80, 61%, 50%) and in CMYK cmyk(25%, 0%, 76%, 20%).

YellowGreen
#9ACD32

Color values

In CSS you can write it as the keyword yellowgreen.

White text on YellowGreen has a contrast ratio of 1.88:1 and black text 11.15:1, so black text is the more readable choice.

The closest Tailwind CSS color is Lime 500 (#84CC16).

Use YellowGreen in CSS

.element {
  color: yellowgreen;
  background-color: #9acd32;
  border-color: rgb(154, 205, 50);
}

Tints and shades of YellowGreen

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with YellowGreen

Color-wheel harmonies built from #9ACD32. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on YellowGreen

Aa
White text
1.88:1
Fail
Aa
Black text
11.15:1
AAA
Check in the contrast checker

Colors similar to YellowGreen

Palettes with similar colors

Questions about YellowGreen

What is the hex code for YellowGreen?

The hex code for YellowGreen is #9ACD32. Its RGB value is rgb(154, 205, 50) and its HSL value is hsl(80, 61%, 50%).

What colors go with YellowGreen?

The complementary color of YellowGreen is #6632CD. For a softer scheme try the analogous colors #CDB332 and #4CCD32; for a balanced three-color scheme use the triadic colors #3299CD and #CD3299.

Is YellowGreen readable as a text color?

On a white background YellowGreen has a contrast ratio of 1.88:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 11.15:1.

More green colors