#9EC221#9EC221

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

Color values

HEX#9EC221
RGBrgb(158, 194, 33)
HSLhsl(73, 71%, 45%)
HSVhsv(73, 83%, 76%)
CMYKcmyk(18.6%, 0%, 83%, 23.9%)
CIE-LABlab(73.52, -32.09, 68.75)
CIE-LCHlch(73.52, 75.87, 115.02°)
OKLaboklab(76.09% -0.095 0.1492)
OKLCHoklch(76.09% 0.177 122.5)
XYZxyz(33.6674, 45.9624, 8.5365)
Luminance0.4596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC221 #4521C2
analogous
#C29621 #9EC221 #4EC221
triadic
#9EC221 #219EC2 #C2219E
tetradic
#9EC221 #21C296 #4521C2 #C2214E
square
#9EC221 #21C296 #4521C2 #C2214E
split-complementary
#9EC221 #214EC2 #9621C2
monochromatic
#49590F #738E18 #9EC221 #BCDF41 #CEE876

Accessibility & contrast

On white

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

On black

10.19
#9EC221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC221
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC221#FFFFFF#000000##000000
##9EC2211.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#C9B534
Tritanopia (blue-blind)
#A7B8A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9ec221;
/* rgb */ color: rgb(158, 194, 33);
/* oklch */ color: oklch(76.1% 0.177 122.5);
Tailwind
colors: {
  custom: {
    50: '#bfd46d',
    500: '#9ec221',
    950: '#000000',
  },
}
SCSS
$custom: #9ec221;
$custom-light: #bfd46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec221",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 73.416,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.17686,
    "h": 122.5
  },
  "luminance": 0.45962
}

Semantic roles & 50–950 ramp

primary
#9EC221
secondary
#8570CF
accent
#3AEE62
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9EC221

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

Preview Lab → · Contrast checker → · Palette generator →

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