#9CCD42#9CCD42

#9CCD42 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.7% C 0.173 H 126.9°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#9CCD42
RGBrgb(156, 205, 66)
HSLhsl(81, 58%, 53%)
HSVhsv(81, 68%, 80%)
CMYKcmyk(23.9%, 0%, 67.8%, 19.6%)
CIE-LABlab(76.75, -36.29, 61.19)
CIE-LCHlch(76.75, 71.14, 120.67°)
OKLaboklab(78.72% -0.1038 0.1385)
OKLCHoklch(78.72% 0.173 126.9)
XYZxyz(36.5251, 51.1233, 13.0967)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CCD42 #7342CD
analogous
#CDB842 #9CCD42 #56CD42
triadic
#9CCD42 #429CCD #CD429C
tetradic
#9CCD42 #42CDB8 #7342CD #CD4256
square
#9CCD42 #42CDB8 #7342CD #CD4256
split-complementary
#9CCD42 #4256CD #B842CD
monochromatic
#57761F #7BA62C #9CCD42 #B5DA72 #CFE7A3

Accessibility & contrast

On white

1.87
#9CCD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#9CCD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CCD42
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CCD42#FFFFFF#000000##000000
##9CCD421.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#A2C4B1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ccd42;
/* rgb */ color: rgb(156, 205, 66);
/* oklch */ color: oklch(78.7% 0.173 126.9);
Tailwind
colors: {
  custom: {
    50: '#bddc7e',
    500: '#9ccd42',
    950: '#000000',
  },
}
SCSS
$custom: #9ccd42;
$custom-light: #bddc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ccd42",
  "rgb": {
    "r": 156,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 81.151,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78725,
    "c": 0.17308,
    "h": 126.9
  },
  "luminance": 0.51124
}

Semantic roles & 50–950 ramp

primary
#9CCD42
secondary
#4F357E
accent
#46E17D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9CCD42

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9CCD42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva