Toolman

yellowgreen — #9ACD32

#9ACD32

rgb(154, 205, 50) · hsl(80, 61%, 50%) · CSS keyword yellowgreen

Can you put text on it?

ContrastBody textLarge text
yellowgreen on white1.88:1
yellowgreen on black11.15:1AAAA

As a background, yellowgreen takes black text: 11.15:1 against 1.88:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.

Using it

color: yellowgreen;
color: #9acd32;
color: rgb(154 205 50);

All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.

Colours close to yellowgreen

Frequently asked questions

What is the hex code for yellowgreen?

The hex code for yellowgreen is #9ACD32 — RGB 154, 205, 50.

Can I use yellowgreen for text?

Not on a white background. yellowgreen reaches only 1.88:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.

Should text on yellowgreen be black or white?

Black — 11.15:1 against 1.88:1 the other way.

Other named colours

#9ACD32 in full — tints, shades and harmonies · All named colours · Colour reference