#9DC42D#9DC42D

#9DC42D is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.5% C 0.174 H 123.6°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#9DC42D
RGBrgb(157, 196, 45)
HSLhsl(75, 63%, 47%)
HSVhsv(75, 77%, 77%)
CMYKcmyk(19.9%, 0%, 77%, 23.1%)
CIE-LABlab(74.09, -32.95, 65.92)
CIE-LCHlch(74.09, 73.70, 116.56°)
OKLaboklab(76.54% -0.0964 0.1452)
OKLCHoklch(76.54% 0.174 123.6)
XYZxyz(34.1186, 46.8372, 9.7251)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC42D #542DC4
analogous
#C4A02D #9DC42D #51C42D
triadic
#9DC42D #2D9DC4 #C42D9D
tetradic
#9DC42D #2DC4A0 #542DC4 #C42D51
square
#9DC42D #2DC4A0 #542DC4 #C42D51
split-complementary
#9DC42D #2D51C4 #A02DC4
monochromatic
#4D6016 #759222 #9DC42D #B7D856 #CCE488

Accessibility & contrast

On white

2.03
#9DC42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#9DC42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC42D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC42D#FFFFFF#000000##000000
##9DC42D1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CAB63C
Tritanopia (blue-blind)
#A5BAA8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9dc42d;
/* rgb */ color: rgb(157, 196, 45);
/* oklch */ color: oklch(76.5% 0.174 123.6);
Tailwind
colors: {
  custom: {
    50: '#bed672',
    500: '#9dc42d',
    950: '#000000',
  },
}
SCSS
$custom: #9dc42d;
$custom-light: #bed672;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc42d",
  "rgb": {
    "r": 157,
    "g": 196,
    "b": 45
  },
  "hsl": {
    "h": 75.497,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76541,
    "c": 0.17428,
    "h": 123.6
  },
  "luminance": 0.46837
}

Semantic roles & 50–950 ramp

primary
#9DC42D
secondary
#9480CD
accent
#42E66C
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9DC42D

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

Preview Lab → · Contrast checker → · Palette generator →

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