CSS color names · Greens

Yellow Green color: hex #9acd32, RGB and HSL

Yellow Green is the CSS keyword yellowgreen, hex #9acd32, rgb(154, 205, 50), hsl(80, 61%, 50%). It is a medium, vivid green in the greens family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
yellowgreen
Hex
#9acd32
RGB
rgb(154, 205, 50)
HSL
hsl(80, 61%, 50%)
On white
1.88:1 — fails AA; use as a fill, not text
On black
11.15:1 — passes AA for body text
.example {
  color: yellowgreen;          /* keyword */
  color: #9acd32;          /* hex */
  color: rgb(154, 205, 50); /* rgb */
  color: hsl(80, 61%, 50%); /* hsl */
}

What colors go with yellow green

Each match keeps yellow green's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside yellow green as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#6532cd

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#324ccd
#b332cd

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#329acd
#cd329a

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#cdb332
#4ccd32

Tints and shades of yellow green

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as yellow green — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#abd554
#bcde76
#cde699
#ddeebb
#eef7dd

Shades (darker)

#80ab2a
#678921
#4d6719
#334411
#1a2208

A UI color palette built from yellow green

The eight semantic roles an interface actually uses, derived from yellow green as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#9acd32
secondary
#324ccd
accent
#b332cd
background
#fdfdfc
surface
#f5f7f3
text
#1d2211
muted
#7c8f57
border
#e8ecdf
Dark mode
primary
#a4d247
secondary
#475ed2
accent
#ba47d2
background
#161b0e
surface
#222815
text
#f5f6f3
muted
#abb695
border
#3e4927

Using yellow green in an interface

Green means success and 'on' — reserve one green for that job before you use another as a brand color. Sea green, forest green and teal are calm enough to lead a palette; the neon greens are for dark-mode accents and little else. Whichever role yellow green takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Yellow Green?
Yellow Green is #9acd32. In CSS the keyword yellowgreen, the hex #9acd32, rgb(154, 205, 50) and hsl(80, 61%, 50%) all paint the same color.
What colors go with Yellow Green?
Its complement is #6532cd, the split-complementary pair is #324ccd and #b332cd, the triadic partners are #329acd and #cd329a, and the analogous neighbors are #cdb332 and #4ccd32. In an interface, use Yellow Green for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Yellow Green on the color wheel?
The opposite (complementary) color is #6532cd, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Yellow Green for text?
Yellow Green as text on white has a contrast ratio of 1.88:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 11.15:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.

Similar named colors

More greens

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.