#9FCB40#9FCB40

#9FCB40 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.4% C 0.171 H 125.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#9FCB40
RGBrgb(159, 203, 64)
HSLhsl(79, 57%, 52%)
HSVhsv(79, 68%, 80%)
CMYKcmyk(21.7%, 0%, 68.5%, 20.4%)
CIE-LABlab(76.35, -34.35, 61.60)
CIE-LCHlch(76.35, 70.53, 119.14°)
OKLaboklab(78.44% -0.0988 0.139)
OKLCHoklch(78.44% 0.171 125.4)
XYZxyz(36.5796, 50.4525, 12.6606)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCB40 #6C40CB
analogous
#CBB240 #9FCB40 #59CB40
triadic
#9FCB40 #409FCB #CB409F
tetradic
#9FCB40 #40CBB2 #6C40CB #CB4059
square
#9FCB40 #40CBB2 #6C40CB #CB4059
split-complementary
#9FCB40 #4059CB #B240CB
monochromatic
#57721F #7CA22C #9FCB40 #B7D870 #CFE5A0

Accessibility & contrast

On white

1.89
#9FCB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#9FCB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCB40
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCB40#FFFFFF#000000##000000
##9FCB401.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#A6C1AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9fcb40;
/* rgb */ color: rgb(159, 203, 64);
/* oklch */ color: oklch(78.4% 0.171 125.4);
Tailwind
colors: {
  custom: {
    50: '#bfdb7d',
    500: '#9fcb40',
    950: '#000000',
  },
}
SCSS
$custom: #9fcb40;
$custom-light: #bfdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcb40",
  "rgb": {
    "r": 159,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 78.993,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78439,
    "c": 0.17056,
    "h": 125.4
  },
  "luminance": 0.50453
}

Semantic roles & 50–950 ramp

primary
#9FCB40
secondary
#4B357B
accent
#47E078
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FCB40

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

Preview Lab → · Contrast checker → · Palette generator →

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