#9EC42B#9EC42B

#9EC42B 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#9EC42B
RGBrgb(158, 196, 43)
HSLhsl(75, 64%, 47%)
HSVhsv(75, 78%, 77%)
CMYKcmyk(19.4%, 0%, 78.1%, 23.1%)
CIE-LABlab(74.14, -32.64, 66.60)
CIE-LCHlch(74.14, 74.16, 116.11°)
OKLaboklab(76.6% -0.0958 0.1462)
OKLCHoklch(76.6% 0.175 123.2)
XYZxyz(34.2770, 46.9232, 9.5363)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC42B #512BC4
analogous
#C49E2B #9EC42B #52C42B
triadic
#9EC42B #2B9EC4 #C42B9E
tetradic
#9EC42B #2BC49E #512BC4 #C42B52
square
#9EC42B #2BC49E #512BC4 #C42B52
split-complementary
#9EC42B #2B52C4 #9E2BC4
monochromatic
#4D6015 #769220 #9EC42B #B8D953 #CDE485

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EC42B#FFFFFF#000000##000000
##9EC42B1.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)
#CBB63B
Tritanopia (blue-blind)
#A6BAA8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9ec42b;
/* rgb */ color: rgb(158, 196, 43);
/* oklch */ color: oklch(76.6% 0.175 123.2);
Tailwind
colors: {
  custom: {
    50: '#bfd671',
    500: '#9ec42b',
    950: '#000000',
  },
}
SCSS
$custom: #9ec42b;
$custom-light: #bfd671;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec42b",
  "rgb": {
    "r": 158,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 74.902,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76599,
    "c": 0.17482,
    "h": 123.2
  },
  "luminance": 0.46923
}

Semantic roles & 50–950 ramp

primary
#9EC42B
secondary
#917DCE
accent
#41E76A
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC42B

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

Preview Lab → · Contrast checker → · Palette generator →

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