#9DCC42#9DCC42

#9DCC42 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.6% C 0.171 H 126.4°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#9DCC42
RGBrgb(157, 204, 66)
HSLhsl(80, 58%, 53%)
HSVhsv(80, 68%, 80%)
CMYKcmyk(23%, 0%, 67.6%, 20%)
CIE-LABlab(76.53, -35.45, 60.98)
CIE-LCHlch(76.53, 70.53, 120.17°)
OKLaboklab(78.56% -0.1016 0.138)
OKLCHoklch(78.56% 0.171 126.4)
XYZxyz(36.4810, 50.7466, 13.0263)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCC42 #7142CC
analogous
#CCB642 #9DCC42 #58CC42
triadic
#9DCC42 #429DCC #CC429D
tetradic
#9DCC42 #42CCB6 #7142CC #CC4258
square
#9DCC42 #42CCB6 #7142CC #CC4258
split-complementary
#9DCC42 #4258CC #B642CC
monochromatic
#57741F #7CA42C #9DCC42 #B6D972 #CFE6A2

Accessibility & contrast

On white

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

On black

11.15
#9DCC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCC42
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCC42#FFFFFF#000000##000000
##9DCC421.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9dcc42;
/* rgb */ color: rgb(157, 204, 66);
/* oklch */ color: oklch(78.6% 0.171 126.4);
Tailwind
colors: {
  custom: {
    50: '#bddb7e',
    500: '#9dcc42',
    950: '#000000',
  },
}
SCSS
$custom: #9dcc42;
$custom-light: #bddb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcc42",
  "rgb": {
    "r": 157,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 80.435,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78556,
    "c": 0.17137,
    "h": 126.4
  },
  "luminance": 0.50747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DCC42

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

Preview Lab → · Contrast checker → · Palette generator →

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