#9DCC40#9DCC40

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

Color values

HEX#9DCC40
RGBrgb(157, 204, 64)
HSLhsl(80, 58%, 53%)
HSVhsv(80, 69%, 80%)
CMYKcmyk(23%, 0%, 68.6%, 20%)
CIE-LABlab(76.51, -35.58, 61.73)
CIE-LCHlch(76.51, 71.25, 119.96°)
OKLaboklab(78.54% -0.1021 0.1393)
OKLCHoklch(78.54% 0.173 126.2)
XYZxyz(36.4230, 50.7234, 12.7212)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCC40 #6F40CC
analogous
#CCB540 #9DCC40 #57CC40
triadic
#9DCC40 #409DCC #CC409D
tetradic
#9DCC40 #40CCB5 #6F40CC #CC4057
square
#9DCC40 #40CCB5 #6F40CC #CC4057
split-complementary
#9DCC40 #4057CC #B540CC
monochromatic
#57731F #7BA32C #9DCC40 #B6D970 #CFE6A1

Accessibility & contrast

On white

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

On black

11.14
#9DCC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCC40
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCC40#FFFFFF#000000##000000
##9DCC401.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9dcc40;
/* rgb */ color: rgb(157, 204, 64);
/* oklch */ color: oklch(78.5% 0.173 126.2);
Tailwind
colors: {
  custom: {
    50: '#bddb7d',
    500: '#9dcc40',
    950: '#000000',
  },
}
SCSS
$custom: #9dcc40;
$custom-light: #bddb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcc40",
  "rgb": {
    "r": 157,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 80.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7854,
    "c": 0.17272,
    "h": 126.2
  },
  "luminance": 0.50724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DCC40

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

Preview Lab → · Contrast checker → · Palette generator →

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