CSS named color
YellowGreen #9ACD32
YellowGreen is a yellow-green with the hex code #9ACD32, which converts to rgb(154, 205, 50). Open #9ACD32 in the converter to tweak it.
YellowGreen color values
| HEX | #9ACD32 |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(154, 205, 50) |
| RGBA | rgba(154, 205, 50, 1) |
| 8-digit HEX | #9ACD32FF |
| HSL | hsl(80, 61%, 50%) |
| HSV / HSB | 80°, 76%, 80% |
| CMYK | 25%, 0%, 76%, 20% |
| RGB 0–1 | 0.604, 0.804, 0.196 |
| Decimal | 10145074 |
| CSS keyword | yellowgreen |
How #9ACD32 converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: 9A → 154, CD → 205, 32 → 50. That gives rgb(154, 205, 50). The step-by-step guide explains the math.
Shades of YellowGreen
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of YellowGreen
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of YellowGreen on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | YellowGreen | 1.88:1 | Fail |
| Black | YellowGreen | 11.15:1 | AAA |
Use black text on a yellowgreen background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use YellowGreen in CSS
.element {
color: yellowgreen; /* keyword */
background-color: #9ACD32; /* hex */
border-color: rgb(154 205 50 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #9ACD3280 is YellowGreen at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for YellowGreen?
The CSS named color yellowgreen is #9ACD32 in hexadecimal. In CSS you can write color: yellowgreen; or color: #9ACD32; — both produce the same pixel.
What is YellowGreen in RGB?
YellowGreen is rgb(154, 205, 50): red 154, green 205, blue 50 on the 0–255 scale. As normalized 0–1 floats that is (0.604, 0.804, 0.196).
Is white or black text more readable on YellowGreen?
Black text is more readable. White on #9ACD32 has a contrast ratio of 1.88:1 (Fail), black on #9ACD32 has 11.15:1 (AAA). WCAG AA needs 4.5:1 for normal text.