#9EC22D#9EC22D

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

Color values

HEX#9EC22D
RGBrgb(158, 194, 45)
HSLhsl(74, 62%, 47%)
HSVhsv(74, 77%, 76%)
CMYKcmyk(18.6%, 0%, 76.8%, 23.9%)
CIE-LABlab(73.57, -31.62, 65.47)
CIE-LCHlch(73.57, 72.70, 115.78°)
OKLaboklab(76.14% -0.0929 0.1442)
OKLCHoklch(76.14% 0.172 122.8)
XYZxyz(33.8665, 46.0420, 9.5849)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC22D #512DC2
analogous
#C29C2D #9EC22D #53C22D
triadic
#9EC22D #2D9EC2 #C22D9E
tetradic
#9EC22D #2DC29C #512DC2 #C22D53
square
#9EC22D #2DC29C #512DC2 #C22D53
split-complementary
#9EC22D #2D53C2 #9C2DC2
monochromatic
#4D5F16 #769021 #9EC22D #B8D755 #CDE386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EC22D#FFFFFF#000000##000000
##9EC22D1.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)
#CEB601
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#A6B8A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9ec22d;
/* rgb */ color: rgb(158, 194, 45);
/* oklch */ color: oklch(76.1% 0.172 122.8);
Tailwind
colors: {
  custom: {
    50: '#bfd472',
    500: '#9ec22d',
    950: '#000000',
  },
}
SCSS
$custom: #9ec22d;
$custom-light: #bfd472;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec22d",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 74.497,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76143,
    "c": 0.1715,
    "h": 122.8
  },
  "luminance": 0.46042
}

Semantic roles & 50–950 ramp

primary
#9EC22D
secondary
#917ECD
accent
#42E56A
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9EC22D

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

Preview Lab → · Contrast checker → · Palette generator →

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