#9DC42B#9DC42B

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

Color values

HEX#9DC42B
RGBrgb(157, 196, 43)
HSLhsl(75, 64%, 47%)
HSVhsv(75, 78%, 77%)
CMYKcmyk(19.9%, 0%, 78.1%, 23.1%)
CIE-LABlab(74.08, -33.04, 66.51)
CIE-LCHlch(74.08, 74.27, 116.42°)
OKLaboklab(76.53% -0.0968 0.1461)
OKLCHoklch(76.53% 0.175 123.5)
XYZxyz(34.0810, 46.8221, 9.5271)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC42B #522BC4
analogous
#C49F2B #9DC42B #51C42B
triadic
#9DC42B #2B9DC4 #C42B9D
tetradic
#9DC42B #2BC49F #522BC4 #C42B51
square
#9DC42B #2BC49F #522BC4 #C42B51
split-complementary
#9DC42B #2B51C4 #9F2BC4
monochromatic
#4D6015 #759220 #9DC42B #B7D953 #CCE485

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9dc42b;
/* rgb */ color: rgb(157, 196, 43);
/* oklch */ color: oklch(76.5% 0.175 123.5);
Tailwind
colors: {
  custom: {
    50: '#bed671',
    500: '#9dc42b',
    950: '#000000',
  },
}
SCSS
$custom: #9dc42b;
$custom-light: #bed671;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc42b",
  "rgb": {
    "r": 157,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 75.294,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7653,
    "c": 0.17527,
    "h": 123.5
  },
  "luminance": 0.46822
}

Semantic roles & 50–950 ramp

primary
#9DC42B
secondary
#927DCE
accent
#41E76B
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9DC42B

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

Preview Lab → · Contrast checker → · Palette generator →

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