#9FC221#9FC221

#9FC221 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.2% C 0.176 H 122.2°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#9FC221
RGBrgb(159, 194, 33)
HSLhsl(73, 71%, 45%)
HSVhsv(73, 83%, 76%)
CMYKcmyk(18%, 0%, 83%, 23.9%)
CIE-LABlab(73.59, -31.69, 68.83)
CIE-LCHlch(73.59, 75.77, 114.72°)
OKLaboklab(76.16% -0.0939 0.1493)
OKLCHoklch(76.16% 0.176 122.2)
XYZxyz(33.8649, 46.0642, 8.5457)
Luminance0.4606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC221 #4421C2
analogous
#C29421 #9FC221 #4FC221
triadic
#9FC221 #219FC2 #C2219F
tetradic
#9FC221 #21C294 #4421C2 #C2214F
square
#9FC221 #21C294 #4421C2 #C2214F
split-complementary
#9FC221 #214FC2 #9421C2
monochromatic
#49590F #748E18 #9FC221 #BDDF41 #CFE876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FC221#FFFFFF#000000##000000
##9FC2211.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)
#CAB534
Tritanopia (blue-blind)
#A8B8A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9fc221;
/* rgb */ color: rgb(159, 194, 33);
/* oklch */ color: oklch(76.2% 0.176 122.2);
Tailwind
colors: {
  custom: {
    50: '#c0d46d',
    500: '#9fc221',
    950: '#000000',
  },
}
SCSS
$custom: #9fc221;
$custom-light: #c0d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc221",
  "rgb": {
    "r": 159,
    "g": 194,
    "b": 33
  },
  "hsl": {
    "h": 73.043,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76155,
    "c": 0.17641,
    "h": 122.2
  },
  "luminance": 0.46064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FC221

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

Preview Lab → · Contrast checker → · Palette generator →

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