#9DCA42#9DCA42

#9DCA42 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.1% C 0.169 H 125.9°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#9DCA42
RGBrgb(157, 202, 66)
HSLhsl(80, 56%, 53%)
HSVhsv(80, 67%, 79%)
CMYKcmyk(22.3%, 0%, 67.3%, 20.8%)
CIE-LABlab(75.95, -34.53, 60.38)
CIE-LCHlch(75.95, 69.56, 119.77°)
OKLaboklab(78.09% -0.0991 0.1368)
OKLCHoklch(78.09% 0.169 125.9)
XYZxyz(36.0087, 49.8020, 12.8689)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCA42 #6F42CA
analogous
#CAB342 #9DCA42 #59CA42
triadic
#9DCA42 #429DCA #CA429D
tetradic
#9DCA42 #42CAB3 #6F42CA #CA4259
square
#9DCA42 #42CAB3 #6F42CA #CA4259
split-complementary
#9DCA42 #4259CA #B342CA
monochromatic
#577220 #7BA22D #9DCA42 #B6D772 #CFE5A2

Accessibility & contrast

On white

1.92
#9DCA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#9DCA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCA42
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCA42#FFFFFF#000000##000000
##9DCA421.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2E
Deuteranopia (green-blind)
#CEBB4D
Tritanopia (blue-blind)
#A3C1AF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9dca42;
/* rgb */ color: rgb(157, 202, 66);
/* oklch */ color: oklch(78.1% 0.169 125.9);
Tailwind
colors: {
  custom: {
    50: '#bdda7e',
    500: '#9dca42',
    950: '#000000',
  },
}
SCSS
$custom: #9dca42;
$custom-light: #bdda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9dca42",
  "rgb": {
    "r": 157,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 79.853,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78089,
    "c": 0.16887,
    "h": 125.9
  },
  "luminance": 0.49803
}

Semantic roles & 50–950 ramp

primary
#9DCA42
secondary
#AA96D1
accent
#48DF7A
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9DCA42

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

Preview Lab → · Contrast checker → · Palette generator →

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