#9DC42E#9DC42E

#9DC42E 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#9DC42E
RGBrgb(157, 196, 46)
HSLhsl(76, 62%, 47%)
HSVhsv(76, 77%, 77%)
CMYKcmyk(19.9%, 0%, 76.5%, 23.1%)
CIE-LABlab(74.09, -32.91, 65.61)
CIE-LCHlch(74.09, 73.40, 116.63°)
OKLaboklab(76.55% -0.0962 0.1447)
OKLCHoklch(76.55% 0.174 123.6)
XYZxyz(34.1381, 46.8450, 9.8277)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC42E #552EC4
analogous
#C4A02E #9DC42E #52C42E
triadic
#9DC42E #2E9DC4 #C42E9D
tetradic
#9DC42E #2EC4A0 #552EC4 #C42E52
square
#9DC42E #2EC4A0 #552EC4 #C42E52
split-complementary
#9DC42E #2E52C4 #A02EC4
monochromatic
#4E6117 #759222 #9DC42E #B6D858 #CCE389

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DC42E#FFFFFF#000000##000000
##9DC42E1.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)
#CFB703
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#A5BAA8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9dc42e;
/* rgb */ color: rgb(157, 196, 46);
/* oklch */ color: oklch(76.5% 0.174 123.6);
Tailwind
colors: {
  custom: {
    50: '#bed673',
    500: '#9dc42e',
    950: '#000000',
  },
}
SCSS
$custom: #9dc42e;
$custom-light: #bed673;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc42e",
  "rgb": {
    "r": 157,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 75.6,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76546,
    "c": 0.17377,
    "h": 123.6
  },
  "luminance": 0.46845
}

Semantic roles & 50–950 ramp

primary
#9DC42E
secondary
#9581CD
accent
#43E56D
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9DC42E

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

Preview Lab → · Contrast checker → · Palette generator →

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