CSS Named Color

Copy-ready color values

HEX#9ACD32
RGBrgb(154, 205, 50)
HSLhsl(80, 61%, 50%)
HSVhsv(80, 76%, 80%)
CMYK approx.cmyk(25, 0, 76, 20)

Color value table

FormatValueCopy
HEX#9ACD32
RGBrgb(154, 205, 50)
HSLhsl(80, 61%, 50%)
HSVhsv(80, 76%, 80%)
CMYK approx.cmyk(25, 0, 76, 20)
CSS keywordyellowgreen

Contrast and classification

DarkLightness1.88:1Contrast with white11.15:1Contrast with blackYellow / GreenColor family

Shade and tint preview

White 10%
#A4D247

White 30%
#B8DC70

White 70%
#E1F0C2

White 90%
#F5FAEB

Black 10%
#8BB92D

Black 30%
#6C9023

Black 70%
#2E3E0F

Black 90%
#0F1505

Harmony palettes

Complementary

#6532CD
#8A63D9

Analogous

#A0CD3E
#9ABA45

Triadic

#CD329A
#329ACD

Split complementary

#8157D6
#5329A8

Using Yellowgreen

Yellowgreen works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-yellowgreen: #9acd32;
}

.button-primary {
  background: var(--color-yellowgreen);
  color: #000000;
}

$yellowgreen: #9acd32;

// Tailwind arbitrary value
class="bg-[#9acd32] text-white"