#9CCE42#9CCE42

#9CCE42 is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 79.0% C 0.174 H 127.1°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#9CCE42
RGBrgb(156, 206, 66)
HSLhsl(81, 59%, 53%)
HSVhsv(81, 68%, 81%)
CMYKcmyk(24.3%, 0%, 68%, 19.2%)
CIE-LABlab(77.04, -36.74, 61.49)
CIE-LCHlch(77.04, 71.63, 120.86°)
OKLaboklab(78.96% -0.1051 0.1391)
OKLCHoklch(78.96% 0.174 127.1)
XYZxyz(36.7650, 51.6032, 13.1766)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CCE42 #7442CE
analogous
#CEBA42 #9CCE42 #56CE42
triadic
#9CCE42 #429CCE #CE429C
tetradic
#9CCE42 #42CEBA #7442CE #CE4256
square
#9CCE42 #42CEBA #7442CE #CE4256
split-complementary
#9CCE42 #4256CE #BA42CE
monochromatic
#57771F #7BA72B #9CCE42 #B5DB73 #CFE7A3

Accessibility & contrast

On white

1.85
#9CCE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#9CCE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CCE42
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CCE42#FFFFFF#000000##000000
##9CCE421.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#A2C5B2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #9cce42;
/* rgb */ color: rgb(156, 206, 66);
/* oklch */ color: oklch(79.0% 0.174 127.1);
Tailwind
colors: {
  custom: {
    50: '#bddd7e',
    500: '#9cce42',
    950: '#000000',
  },
}
SCSS
$custom: #9cce42;
$custom-light: #bddd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cce42",
  "rgb": {
    "r": 156,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 81.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7896,
    "c": 0.17434,
    "h": 127.1
  },
  "luminance": 0.51604
}

Semantic roles & 50–950 ramp

primary
#9CCE42
secondary
#4F357F
accent
#46E27E
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9CCE42

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

Preview Lab → · Contrast checker → · Palette generator →

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