#9FCA21#9FCA21

#9FCA21 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.0% C 0.185 H 124.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#9FCA21
RGBrgb(159, 202, 33)
HSLhsl(75, 72%, 46%)
HSVhsv(75, 84%, 79%)
CMYKcmyk(21.3%, 0%, 83.7%, 20.8%)
CIE-LABlab(75.90, -35.38, 70.83)
CIE-LCHlch(75.90, 79.17, 116.54°)
OKLaboklab(78.03% -0.1039 0.1536)
OKLCHoklch(78.03% 0.185 124.1)
XYZxyz(35.6936, 49.7215, 9.1553)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCA21 #4C21CA
analogous
#CAA021 #9FCA21 #4BCA21
triadic
#9FCA21 #219FCA #CA219F
tetradic
#9FCA21 #21CAA0 #4C21CA #CA214B
square
#9FCA21 #21CAA0 #4C21CA #CA214B
split-complementary
#9FCA21 #214BCA #A021CA
monochromatic
#4C6110 #769518 #9FCA21 #BAE147 #CEEA7C

Accessibility & contrast

On white

1.92
#9FCA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#9FCA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCA21
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCA21#FFFFFF#000000##000000
##9FCA211.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BC00
Deuteranopia (green-blind)
#D0BB35
Tritanopia (blue-blind)
#A7C0AC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9fca21;
/* rgb */ color: rgb(159, 202, 33);
/* oklch */ color: oklch(78.0% 0.185 124.1);
Tailwind
colors: {
  custom: {
    50: '#c0da6e',
    500: '#9fca21',
    950: '#000000',
  },
}
SCSS
$custom: #9fca21;
$custom-light: #c0da6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fca21",
  "rgb": {
    "r": 159,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 75.266,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78025,
    "c": 0.18548,
    "h": 124.1
  },
  "luminance": 0.49722
}

Semantic roles & 50–950 ramp

primary
#9FCA21
secondary
#8D75D2
accent
#39EF67
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9FCA21

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

Preview Lab → · Contrast checker → · Palette generator →

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