yellowgreen — #9ACD32
#9ACD32
rgb(154, 205, 50) · hsl(80, 61%, 50%) · CSS keyword yellowgreen
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| yellowgreen on white | 1.88:1 | — | — |
| yellowgreen on black | 11.15:1 | AA | AA |
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
- darkkhaki — #BDB76B
- darkseagreen — #8FBC8F
- greenyellow — #ADFF2F
- lightgreen — #90EE90
- lawngreen — #7CFC00
- chartreuse — #7FFF00
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
- aliceblue — #F0F8FF
- antiquewhite — #FAEBD7
- aqua — #00FFFF
- aquamarine — #7FFFD4
- azure — #F0FFFF
- beige — #F5F5DC
- bisque — #FFE4C4
- black — #000000
- blanchedalmond — #FFEBCD
- blue — #0000FF
- blueviolet — #8A2BE2
- brown — #A52A2A
#9ACD32 in full — tints, shades and harmonies · All named colours · Colour reference