#9DC42C#9DC42C

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

Color values

HEX#9DC42C
RGBrgb(157, 196, 44)
HSLhsl(75, 63%, 47%)
HSVhsv(75, 78%, 77%)
CMYKcmyk(19.9%, 0%, 77.6%, 23.1%)
CIE-LABlab(74.08, -33.00, 66.22)
CIE-LCHlch(74.08, 73.98, 116.49°)
OKLaboklab(76.54% -0.0966 0.1456)
OKLCHoklch(76.54% 0.175 123.6)
XYZxyz(34.0996, 46.8296, 9.6249)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC42C #532CC4
analogous
#C49F2C #9DC42C #51C42C
triadic
#9DC42C #2C9DC4 #C42C9D
tetradic
#9DC42C #2CC49F #532CC4 #C42C51
square
#9DC42C #2CC49F #532CC4 #C42C51
split-complementary
#9DC42C #2C51C4 #9F2CC4
monochromatic
#4D6016 #759221 #9DC42C #B7D954 #CCE486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DC42C#FFFFFF#000000##000000
##9DC42C1.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)
#CAB63B
Tritanopia (blue-blind)
#A5BAA8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9dc42c;
/* rgb */ color: rgb(157, 196, 44);
/* oklch */ color: oklch(76.5% 0.175 123.6);
Tailwind
colors: {
  custom: {
    50: '#bed672',
    500: '#9dc42c',
    950: '#000000',
  },
}
SCSS
$custom: #9dc42c;
$custom-light: #bed672;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc42c",
  "rgb": {
    "r": 157,
    "g": 196,
    "b": 44
  },
  "hsl": {
    "h": 75.395,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76535,
    "c": 0.17478,
    "h": 123.6
  },
  "luminance": 0.4683
}

Semantic roles & 50–950 ramp

primary
#9DC42C
secondary
#937ECD
accent
#41E66C
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9DC42C

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

Preview Lab → · Contrast checker → · Palette generator →

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