#9DCD51#9DCD51

#9DCD51 is a light, vivid yellow-green. Relative luminance 0.514; OKLCH L 78.9% C 0.161 H 127.6°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#9DCD51
RGBrgb(157, 205, 81)
HSLhsl(83, 55%, 56%)
HSVhsv(83, 60%, 80%)
CMYKcmyk(23.4%, 0%, 60.5%, 19.6%)
CIE-LABlab(76.94, -34.77, 55.25)
CIE-LCHlch(76.94, 65.28, 122.19°)
OKLaboklab(78.93% -0.0984 0.1279)
OKLCHoklch(78.93% 0.161 127.6)
XYZxyz(37.2211, 51.4242, 15.7478)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCD51 #8151CD
analogous
#CDBF51 #9DCD51 #5FCD51
triadic
#9DCD51 #519DCD #CD519D
tetradic
#9DCD51 #51CDBF #8151CD #CD515F
square
#9DCD51 #51CDBF #8151CD #CD515F
split-complementary
#9DCD51 #515FCD #BF51CD
monochromatic
#5C7F25 #7EAF32 #9DCD51 #B8DB81 #D3E8B0

Accessibility & contrast

On white

1.86
#9DCD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#9DCD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCD51
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCD51#FFFFFF#000000##000000
##9DCD511.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C043
Deuteranopia (green-blind)
#D0BD5A
Tritanopia (blue-blind)
#A2C4B3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #9dcd51;
/* rgb */ color: rgb(157, 205, 81);
/* oklch */ color: oklch(78.9% 0.161 127.6);
Tailwind
colors: {
  custom: {
    50: '#bddc87',
    500: '#9dcd51',
    950: '#000000',
  },
}
SCSS
$custom: #9dcd51;
$custom-light: #bddc87;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcd51",
  "rgb": {
    "r": 157,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 83.226,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78927,
    "c": 0.16134,
    "h": 127.6
  },
  "luminance": 0.51425
}

Semantic roles & 50–950 ramp

primary
#9DCD51
secondary
#593B87
accent
#49DF83
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150B
muted
#82847E

Preview Lab

Preview with #9DCD51

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

Preview Lab → · Contrast checker → · Palette generator →

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