#9EC22A#9EC22A

#9EC22A is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.1% C 0.173 H 122.7°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#9EC22A
RGBrgb(158, 194, 42)
HSLhsl(74, 64%, 46%)
HSVhsv(74, 78%, 76%)
CMYKcmyk(18.6%, 0%, 78.4%, 23.9%)
CIE-LABlab(73.56, -31.75, 66.36)
CIE-LCHlch(73.56, 73.56, 115.57°)
OKLaboklab(76.13% -0.0934 0.1456)
OKLCHoklch(76.13% 0.173 122.7)
XYZxyz(33.8108, 46.0197, 9.2915)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC22A #4E2AC2
analogous
#C29A2A #9EC22A #52C22A
triadic
#9EC22A #2A9EC2 #C22A9E
tetradic
#9EC22A #2AC29A #4E2AC2 #C22A52
square
#9EC22A #2AC29A #4E2AC2 #C22A52
split-complementary
#9EC22A #2A52C2 #9A2AC2
monochromatic
#4C5D14 #75901F #9EC22A #B9D950 #CDE482

Accessibility & contrast

On white

2.06
#9EC22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#9EC22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC22A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC22A#FFFFFF#000000##000000
##9EC22A1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#C9B539
Tritanopia (blue-blind)
#A6B8A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9ec22a;
/* rgb */ color: rgb(158, 194, 42);
/* oklch */ color: oklch(76.1% 0.173 122.7);
Tailwind
colors: {
  custom: {
    50: '#bfd471',
    500: '#9ec22a',
    950: '#000000',
  },
}
SCSS
$custom: #9ec22a;
$custom-light: #bfd471;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec22a",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 42
  },
  "hsl": {
    "h": 74.211,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76127,
    "c": 0.17298,
    "h": 122.7
  },
  "luminance": 0.4602
}

Semantic roles & 50–950 ramp

primary
#9EC22A
secondary
#8E7BCD
accent
#40E768
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9EC22A

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

Preview Lab → · Contrast checker → · Palette generator →

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