CSS named color

YellowGreen #9ACD32

yellowgreen rgb(154, 205, 50)

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)—
RGBrgb(154, 205, 50)
RGBArgba(154, 205, 50, 1)
8-digit HEX#9ACD32FF
HSLhsl(80, 61%, 50%)
HSV / HSB80°, 76%, 80%
CMYK25%, 0%, 76%, 20%
RGB 0–10.604, 0.804, 0.196
Decimal10145074
CSS keywordyellowgreen

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

TextBackgroundRatioWCAG 2.x
White YellowGreen 1.88:1Fail
Black YellowGreen 11.15:1AAA

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.

Copied!