#9CCC40#9CCC40

#9CCC40 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.5% C 0.173 H 126.5°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#9CCC40
RGBrgb(156, 204, 64)
HSLhsl(81, 58%, 53%)
HSVhsv(81, 69%, 80%)
CMYKcmyk(23.5%, 0%, 68.6%, 20%)
CIE-LABlab(76.45, -35.96, 61.65)
CIE-LCHlch(76.45, 71.37, 120.26°)
OKLaboklab(78.47% -0.1031 0.1392)
OKLCHoklch(78.47% 0.173 126.5)
XYZxyz(36.2287, 50.6232, 12.7121)
Luminance0.5062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CCC40 #7040CC
analogous
#CCB640 #9CCC40 #56CC40
triadic
#9CCC40 #409CCC #CC409C
tetradic
#9CCC40 #40CCB6 #7040CC #CC4056
square
#9CCC40 #40CCB6 #7040CC #CC4056
split-complementary
#9CCC40 #4056CC #B640CC
monochromatic
#56731F #7AA32C #9CCC40 #B5D970 #CEE6A1

Accessibility & contrast

On white

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

On black

11.12
#9CCC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CCC40
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CCC40#FFFFFF#000000##000000
##9CCC401.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#A2C3B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ccc40;
/* rgb */ color: rgb(156, 204, 64);
/* oklch */ color: oklch(78.5% 0.173 126.5);
Tailwind
colors: {
  custom: {
    50: '#bddb7d',
    500: '#9ccc40',
    950: '#000000',
  },
}
SCSS
$custom: #9ccc40;
$custom-light: #bddb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ccc40",
  "rgb": {
    "r": 156,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 80.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78475,
    "c": 0.1732,
    "h": 126.5
  },
  "luminance": 0.50624
}

Semantic roles & 50–950 ramp

primary
#9CCC40
secondary
#4D347C
accent
#47E17C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9CCC40

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

Preview Lab → · Contrast checker → · Palette generator →

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