#9EC22B#9EC22B

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

Color values

HEX#9EC22B
RGBrgb(158, 194, 43)
HSLhsl(74, 64%, 46%)
HSVhsv(74, 78%, 76%)
CMYKcmyk(18.6%, 0%, 77.8%, 23.9%)
CIE-LABlab(73.56, -31.71, 66.07)
CIE-LCHlch(73.56, 73.28, 115.64°)
OKLaboklab(76.13% -0.0932 0.1451)
OKLCHoklch(76.13% 0.172 122.7)
XYZxyz(33.8289, 46.0269, 9.3869)
Luminance0.4603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC22B #4F2BC2
analogous
#C29B2B #9EC22B #52C22B
triadic
#9EC22B #2B9EC2 #C22B9E
tetradic
#9EC22B #2BC29B #4F2BC2 #C22B52
square
#9EC22B #2BC29B #4F2BC2 #C22B52
split-complementary
#9EC22B #2B52C2 #9B2BC2
monochromatic
#4C5E15 #759020 #9EC22B #B8D952 #CDE484

Accessibility & contrast

On white

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

On black

10.21
#9EC22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC22B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC22B#FFFFFF#000000##000000
##9EC22B1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ec22b;
/* rgb */ color: rgb(158, 194, 43);
/* oklch */ color: oklch(76.1% 0.172 122.7);
Tailwind
colors: {
  custom: {
    50: '#bfd471',
    500: '#9ec22b',
    950: '#000000',
  },
}
SCSS
$custom: #9ec22b;
$custom-light: #bfd471;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec22b",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 43
  },
  "hsl": {
    "h": 74.305,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76132,
    "c": 0.17249,
    "h": 122.7
  },
  "luminance": 0.46027
}

Semantic roles & 50–950 ramp

primary
#9EC22B
secondary
#8F7CCD
accent
#41E769
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9EC22B

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

Preview Lab → · Contrast checker → · Palette generator →

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