#9DCC51#9DCC51

#9DCC51 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.7% C 0.160 H 127.4°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#9DCC51
RGBrgb(157, 204, 81)
HSLhsl(83, 55%, 56%)
HSVhsv(83, 60%, 80%)
CMYKcmyk(23%, 0%, 60.3%, 20%)
CIE-LABlab(76.65, -34.32, 54.93)
CIE-LCHlch(76.65, 64.77, 121.99°)
OKLaboklab(78.69% -0.0971 0.1272)
OKLCHoklch(78.69% 0.16 127.4)
XYZxyz(36.9826, 50.9473, 15.6684)
Luminance0.5095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCC51 #8051CC
analogous
#CCBE51 #9DCC51 #5FCC51
triadic
#9DCC51 #519DCC #CC519D
tetradic
#9DCC51 #51CCBE #8051CC #CC515F
square
#9DCC51 #51CCBE #8051CC #CC515F
split-complementary
#9DCC51 #515FCC #BE51CC
monochromatic
#5C7E25 #7EAD33 #9DCC51 #B8DA80 #D2E8B0

Accessibility & contrast

On white

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

On black

11.19
#9DCC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCC51
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCC51#FFFFFF#000000##000000
##9DCC511.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF43
Deuteranopia (green-blind)
#CFBC5A
Tritanopia (blue-blind)
#A2C3B2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9dcc51;
/* rgb */ color: rgb(157, 204, 81);
/* oklch */ color: oklch(78.7% 0.160 127.4);
Tailwind
colors: {
  custom: {
    50: '#bddb86',
    500: '#9dcc51',
    950: '#000000',
  },
}
SCSS
$custom: #9dcc51;
$custom-light: #bddb86;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcc51",
  "rgb": {
    "r": 157,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 82.927,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78694,
    "c": 0.16003,
    "h": 127.4
  },
  "luminance": 0.50948
}

Semantic roles & 50–950 ramp

primary
#9DCC51
secondary
#583C86
accent
#4ADE82
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9DCC51

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

Preview Lab → · Contrast checker → · Palette generator →

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