#9EC42A#9EC42A

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

Color values

HEX#9EC42A
RGBrgb(158, 196, 42)
HSLhsl(75, 65%, 47%)
HSVhsv(75, 79%, 77%)
CMYKcmyk(19.4%, 0%, 78.6%, 23.1%)
CIE-LABlab(74.14, -32.68, 66.89)
CIE-LCHlch(74.14, 74.44, 116.04°)
OKLaboklab(76.59% -0.096 0.1467)
OKLCHoklch(76.59% 0.175 123.2)
XYZxyz(34.2589, 46.9159, 9.4409)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC42A #502AC4
analogous
#C49D2A #9EC42A #51C42A
triadic
#9EC42A #2A9EC4 #C42A9E
tetradic
#9EC42A #2AC49D #502AC4 #C42A51
square
#9EC42A #2AC49D #502AC4 #C42A51
split-complementary
#9EC42A #2A51C4 #9D2AC4
monochromatic
#4D5F14 #75921F #9EC42A #B8DA51 #CDE584

Accessibility & contrast

On white

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

On black

10.38
#9EC42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC42A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC42A#FFFFFF#000000##000000
##9EC42A1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ec42a;
/* rgb */ color: rgb(158, 196, 42);
/* oklch */ color: oklch(76.6% 0.175 123.2);
Tailwind
colors: {
  custom: {
    50: '#bfd671',
    500: '#9ec42a',
    950: '#000000',
  },
}
SCSS
$custom: #9ec42a;
$custom-light: #bfd671;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec42a",
  "rgb": {
    "r": 158,
    "g": 196,
    "b": 42
  },
  "hsl": {
    "h": 74.805,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76594,
    "c": 0.17529,
    "h": 123.2
  },
  "luminance": 0.46916
}

Semantic roles & 50–950 ramp

primary
#9EC42A
secondary
#907CCE
accent
#40E869
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9EC42A

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

Preview Lab → · Contrast checker → · Palette generator →

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