#9CCC42#9CCC42

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

Color values

HEX#9CCC42
RGBrgb(156, 204, 66)
HSLhsl(81, 58%, 53%)
HSVhsv(81, 68%, 80%)
CMYKcmyk(23.5%, 0%, 67.6%, 20%)
CIE-LABlab(76.46, -35.83, 60.90)
CIE-LCHlch(76.46, 70.66, 120.47°)
OKLaboklab(78.49% -0.1026 0.1379)
OKLCHoklch(78.49% 0.172 126.7)
XYZxyz(36.2866, 50.6464, 13.0172)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CCC42 #7242CC
analogous
#CCB742 #9CCC42 #57CC42
triadic
#9CCC42 #429CCC #CC429C
tetradic
#9CCC42 #42CCB7 #7242CC #CC4257
square
#9CCC42 #42CCB7 #7242CC #CC4257
split-complementary
#9CCC42 #4257CC #B742CC
monochromatic
#57741F #7BA42C #9CCC42 #B5D972 #CEE6A2

Accessibility & contrast

On white

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

On black

11.13
#9CCC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CCC42
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CCC42#FFFFFF#000000##000000
##9CCC421.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ccc42;
/* rgb */ color: rgb(156, 204, 66);
/* oklch */ color: oklch(78.5% 0.172 126.7);
Tailwind
colors: {
  custom: {
    50: '#bddb7e',
    500: '#9ccc42',
    950: '#000000',
  },
}
SCSS
$custom: #9ccc42;
$custom-light: #bddb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ccc42",
  "rgb": {
    "r": 156,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 80.87,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78491,
    "c": 0.17185,
    "h": 126.7
  },
  "luminance": 0.50647
}

Semantic roles & 50–950 ramp

primary
#9CCC42
secondary
#4E357D
accent
#47E17D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9CCC42

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

Preview Lab → · Contrast checker → · Palette generator →

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