Skip to content

Yellow Green

Hex #9ACD32, rgb(154 205 50). A green CSS named color.

Open in palette generator

Yellow Green color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Yellow Green

Yellow Green is a light saturated green with the hex code #9ACD32. In RGB it is made of 154 red, 205 green and 50 blue; in HSL its hue is 80°, with 61% saturation and 50% lightness. Its perceptual lightness (OKLCH L) is 78.5%.

It is a CSS named color, so you can write "yellowgreen" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.88:1 and against black 11.15:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Yellow Green mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Yellow Green 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Yellow Green

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Split complementary

Contrast and readability

WCAG 2 contrast of Yellow Green with white and black. The readable text color on Yellow Green is black.

Yellow Green textSmall text on white

On white1.88:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc 36

Yellow Green textSmall text on black

On black11.15:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc -67

Black text on Yellow Green (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Yellow Green appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#D8BF0A
  • Deuteranopia#D1BC41
  • Tritanopia#A0C3B0
  • Protanomaly#CAC223
  • Deuteranomaly#C6C03D
  • Tritanomaly#9BC980
  • Achromatopsia#BDBDBD

Colors similar to Yellow Green

The closest named colors by perceptual difference (OKLab).

Use Yellow Green in CSS and Tailwind

CSS
.yellow-green {
  color: yellowgreen; /* #9ACD32 */
  background-color: rgb(154 205 50);
  border-color: oklch(78.5% 0.184 126.6);
}
Tailwind CSS
/* Tailwind CSS v4: bg-yellow-green-500, text-yellow-green-700... */
@theme {
  --color-yellow-green-50: #F6FDED;
  --color-yellow-green-100: #E2F3CD;
  --color-yellow-green-200: #C6E49B;
  --color-yellow-green-300: #9ACD32;
  --color-yellow-green-400: #7AA800;
  --color-yellow-green-500: #699100;
  --color-yellow-green-600: #597C00;
  --color-yellow-green-700: #476400;
  --color-yellow-green-800: #395000;
  --color-yellow-green-900: #2D4100;
  --color-yellow-green-950: #101A00;
}

<!-- or the exact color, no config -->
<div class="bg-[#9ACD32] text-[#000000]">…</div>