#9DCD42#9DCD42

#9DCD42 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.8% C 0.173 H 126.6°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#9DCD42
RGBrgb(157, 205, 66)
HSLhsl(81, 58%, 53%)
HSVhsv(81, 68%, 80%)
CMYKcmyk(23.4%, 0%, 67.8%, 19.6%)
CIE-LABlab(76.81, -35.90, 61.28)
CIE-LCHlch(76.81, 71.02, 120.37°)
OKLaboklab(78.79% -0.1028 0.1387)
OKLCHoklch(78.79% 0.173 126.6)
XYZxyz(36.7194, 51.2235, 13.1058)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCD42 #7242CD
analogous
#CDB742 #9DCD42 #58CD42
triadic
#9DCD42 #429DCD #CD429D
tetradic
#9DCD42 #42CDB7 #7242CD #CD4258
square
#9DCD42 #42CDB7 #7242CD #CD4258
split-complementary
#9DCD42 #4258CD #B742CD
monochromatic
#58761F #7CA62C #9DCD42 #B6DA72 #CFE7A3

Accessibility & contrast

On white

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

On black

11.24
#9DCD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCD42
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCD42#FFFFFF#000000##000000
##9DCD421.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9dcd42;
/* rgb */ color: rgb(157, 205, 66);
/* oklch */ color: oklch(78.8% 0.173 126.6);
Tailwind
colors: {
  custom: {
    50: '#bddc7e',
    500: '#9dcd42',
    950: '#000000',
  },
}
SCSS
$custom: #9dcd42;
$custom-light: #bddc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcd42",
  "rgb": {
    "r": 157,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 80.719,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7879,
    "c": 0.17262,
    "h": 126.6
  },
  "luminance": 0.51224
}

Semantic roles & 50–950 ramp

primary
#9DCD42
secondary
#4E357E
accent
#46E17C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9DCD42

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

Preview Lab → · Contrast checker → · Palette generator →

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