#9EC42D#9EC42D

#9EC42D is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.6% C 0.174 H 123.3°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#9EC42D
RGBrgb(158, 196, 45)
HSLhsl(75, 63%, 47%)
HSVhsv(75, 77%, 77%)
CMYKcmyk(19.4%, 0%, 77%, 23.1%)
CIE-LABlab(74.15, -32.55, 66.00)
CIE-LCHlch(74.15, 73.59, 116.25°)
OKLaboklab(76.61% -0.0954 0.1453)
OKLCHoklch(76.61% 0.174 123.3)
XYZxyz(34.3146, 46.9382, 9.7343)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC42D #532DC4
analogous
#C49E2D #9EC42D #53C42D
triadic
#9EC42D #2D9EC4 #C42D9E
tetradic
#9EC42D #2DC49E #532DC4 #C42D53
square
#9EC42D #2DC49E #532DC4 #C42D53
split-complementary
#9EC42D #2D53C4 #9E2DC4
monochromatic
#4E6016 #769222 #9EC42D #B7D856 #CDE488

Accessibility & contrast

On white

2.02
#9EC42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#9EC42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC42D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC42D#FFFFFF#000000##000000
##9EC42D1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ec42d;
/* rgb */ color: rgb(158, 196, 45);
/* oklch */ color: oklch(76.6% 0.174 123.3);
Tailwind
colors: {
  custom: {
    50: '#bfd672',
    500: '#9ec42d',
    950: '#000000',
  },
}
SCSS
$custom: #9ec42d;
$custom-light: #bfd672;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec42d",
  "rgb": {
    "r": 158,
    "g": 196,
    "b": 45
  },
  "hsl": {
    "h": 75.099,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7661,
    "c": 0.17383,
    "h": 123.3
  },
  "luminance": 0.46938
}

Semantic roles & 50–950 ramp

primary
#9EC42D
secondary
#9380CD
accent
#42E66B
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC42D

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

Preview Lab → · Contrast checker → · Palette generator →

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