#9FCA40#9FCA40

#9FCA40 is a light, vivid yellow-green. Relative luminance 0.500; OKLCH L 78.2% C 0.169 H 125.2°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#9FCA40
RGBrgb(159, 202, 64)
HSLhsl(79, 57%, 52%)
HSVhsv(79, 68%, 79%)
CMYKcmyk(21.3%, 0%, 68.3%, 20.8%)
CIE-LABlab(76.06, -33.89, 61.31)
CIE-LCHlch(76.06, 70.05, 118.93°)
OKLaboklab(78.21% -0.0976 0.1384)
OKLCHoklch(78.21% 0.169 125.2)
XYZxyz(36.3442, 49.9817, 12.5822)
Luminance0.4998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCA40 #6B40CA
analogous
#CAB040 #9FCA40 #5ACA40
triadic
#9FCA40 #409FCA #CA409F
tetradic
#9FCA40 #40CAB0 #6B40CA #CA405A
square
#9FCA40 #40CAB0 #6B40CA #CA405A
split-complementary
#9FCA40 #405ACA #B040CA
monochromatic
#57701F #7CA02C #9FCA40 #B7D770 #CFE5A0

Accessibility & contrast

On white

1.91
#9FCA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#9FCA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCA40
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCA40#FFFFFF#000000##000000
##9FCA401.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#A6C0AE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9fca40;
/* rgb */ color: rgb(159, 202, 64);
/* oklch */ color: oklch(78.2% 0.169 125.2);
Tailwind
colors: {
  custom: {
    50: '#bfda7c',
    500: '#9fca40',
    950: '#000000',
  },
}
SCSS
$custom: #9fca40;
$custom-light: #bfda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fca40",
  "rgb": {
    "r": 159,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 78.696,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78206,
    "c": 0.16933,
    "h": 125.2
  },
  "luminance": 0.49982
}

Semantic roles & 50–950 ramp

primary
#9FCA40
secondary
#A895D1
accent
#48E077
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9FCA40

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

Preview Lab → · Contrast checker → · Palette generator →

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