#9FCC40#9FCC40

#9FCC40 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.7% C 0.172 H 125.6°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#9FCC40
RGBrgb(159, 204, 64)
HSLhsl(79, 58%, 53%)
HSVhsv(79, 69%, 80%)
CMYKcmyk(22.1%, 0%, 68.6%, 20%)
CIE-LABlab(76.63, -34.81, 61.89)
CIE-LCHlch(76.63, 71.01, 119.35°)
OKLaboklab(78.67% -0.1001 0.1396)
OKLCHoklch(78.67% 0.172 125.6)
XYZxyz(36.8165, 50.9263, 12.7396)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCC40 #6D40CC
analogous
#CCB340 #9FCC40 #59CC40
triadic
#9FCC40 #409FCC #CC409F
tetradic
#9FCC40 #40CCB3 #6D40CC #CC4059
square
#9FCC40 #40CCB3 #6D40CC #CC4059
split-complementary
#9FCC40 #4059CC #B340CC
monochromatic
#58731F #7DA32C #9FCC40 #B7D970 #D0E6A1

Accessibility & contrast

On white

1.88
#9FCC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#9FCC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCC40
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCC40#FFFFFF#000000##000000
##9FCC401.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2A
Deuteranopia (green-blind)
#D1BC4C
Tritanopia (blue-blind)
#A6C2B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9fcc40;
/* rgb */ color: rgb(159, 204, 64);
/* oklch */ color: oklch(78.7% 0.172 125.6);
Tailwind
colors: {
  custom: {
    50: '#bfdb7d',
    500: '#9fcc40',
    950: '#000000',
  },
}
SCSS
$custom: #9fcc40;
$custom-light: #bfdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcc40",
  "rgb": {
    "r": 159,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 79.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78672,
    "c": 0.1718,
    "h": 125.6
  },
  "luminance": 0.50927
}

Semantic roles & 50–950 ramp

primary
#9FCC40
secondary
#4B347C
accent
#47E178
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FCC40

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

Preview Lab → · Contrast checker → · Palette generator →

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