#9DC42A#9DC42A

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

Color values

HEX#9DC42A
RGBrgb(157, 196, 42)
HSLhsl(75, 65%, 47%)
HSVhsv(75, 79%, 77%)
CMYKcmyk(19.9%, 0%, 78.6%, 23.1%)
CIE-LABlab(74.07, -33.08, 66.80)
CIE-LCHlch(74.07, 74.55, 116.35°)
OKLaboklab(76.53% -0.097 0.1465)
OKLCHoklch(76.53% 0.176 123.5)
XYZxyz(34.0629, 46.8149, 9.4317)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC42A #512AC4
analogous
#C49E2A #9DC42A #50C42A
triadic
#9DC42A #2A9DC4 #C42A9D
tetradic
#9DC42A #2AC49E #512AC4 #C42A50
square
#9DC42A #2AC49E #512AC4 #C42A50
split-complementary
#9DC42A #2A50C4 #9E2AC4
monochromatic
#4C5F14 #75921F #9DC42A #B7DA51 #CCE584

Accessibility & contrast

On white

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

On black

10.36
#9DC42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC42A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC42A#FFFFFF#000000##000000
##9DC42A1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9dc42a;
/* rgb */ color: rgb(157, 196, 42);
/* oklch */ color: oklch(76.5% 0.176 123.5);
Tailwind
colors: {
  custom: {
    50: '#bed671',
    500: '#9dc42a',
    950: '#000000',
  },
}
SCSS
$custom: #9dc42a;
$custom-light: #bed671;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc42a",
  "rgb": {
    "r": 157,
    "g": 196,
    "b": 42
  },
  "hsl": {
    "h": 75.195,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76525,
    "c": 0.17575,
    "h": 123.5
  },
  "luminance": 0.46815
}

Semantic roles & 50–950 ramp

primary
#9DC42A
secondary
#917CCE
accent
#40E86B
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9DC42A

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

Preview Lab → · Contrast checker → · Palette generator →

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