Swatchproof

Yellow green #9ACD32

Yellow green is one of the named colours in CSS, written yellowgreen. Black text reaches 11.15:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordyellowgreen
HEX#9ACD32
RGBrgb(154 205 50)
HSLhsl(80 61% 50%)
OKLCHoklch(78.5% 0.184 126.6)
White text1.88:1 · body text AA Fail
Black text11.15:1 · body text AA Pass

Colours that go with Yellow green

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Night Green (#87C540), close. These are the colours Wada paired it with, ranked by their contrast with Yellow green itself.

ColourHEXContrast with Yellow greenBody text AA
Mars Brown Tobacco#6535145.38:1Pass
Cinnamon Rufous#C275441.88:1Fail
Peach Red#F15A301.79:1Fail
Sulpher Yellow#F5ECC21.58:1Fail
Lemon Yellow#F8ED431.54:1Fail
Ochraceous Salmon#D8A37B1.18:1Fail
Yellow Green#AFD4721.12:1Fail

Palettes with Night Green

Shades and tints of Yellow green

Nine lightness steps in OKLCH that keep the hue of Yellow green. Chroma is reduced only where sRGB cannot show it.

:root {
  --yellowgreen-100: #E8FFCA;
  --yellowgreen-200: #C4FA67;
  --yellowgreen-300: #AEE34D;
  --yellowgreen-400: #92C526;
  --yellowgreen-500: #77A400;
  --yellowgreen-600: #5C7F00;
  --yellowgreen-700: #446000;
  --yellowgreen-800: #2E4200;
  --yellowgreen-900: #192700;
}

Text that keeps Yellow green on screen

Text #192700 on #9ACD32 reaches 8.38:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours