#9DCF51#9DCF51

#9DCF51 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.4% C 0.164 H 128.0°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#9DCF51
RGBrgb(157, 207, 81)
HSLhsl(84, 57%, 56%)
HSVhsv(84, 61%, 81%)
CMYKcmyk(24.2%, 0%, 60.9%, 18.8%)
CIE-LABlab(77.51, -35.69, 55.89)
CIE-LCHlch(77.51, 66.31, 122.56°)
OKLaboklab(79.39% -0.1009 0.1292)
OKLCHoklch(79.39% 0.164 128)
XYZxyz(37.7026, 52.3871, 15.9083)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCF51 #8351CF
analogous
#CFC251 #9DCF51 #5ECF51
triadic
#9DCF51 #519DCF #CF519D
tetradic
#9DCF51 #51CFC2 #8351CF #CF515E
square
#9DCF51 #51CFC2 #8351CF #CF515E
split-complementary
#9DCF51 #515ECF #C251CF
monochromatic
#5C8224 #7FB231 #9DCF51 #B8DC81 #D3E9B1

Accessibility & contrast

On white

1.83
#9DCF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#9DCF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCF51
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCF51#FFFFFF#000000##000000
##9DCF511.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#D2BE5A
Tritanopia (blue-blind)
#A2C6B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9dcf51;
/* rgb */ color: rgb(157, 207, 81);
/* oklch */ color: oklch(79.4% 0.164 128.0);
Tailwind
colors: {
  custom: {
    50: '#bdde87',
    500: '#9dcf51',
    950: '#000000',
  },
}
SCSS
$custom: #9dcf51;
$custom-light: #bdde87;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcf51",
  "rgb": {
    "r": 157,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 83.81,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79394,
    "c": 0.16396,
    "h": 128
  },
  "luminance": 0.52388
}

Semantic roles & 50–950 ramp

primary
#9DCF51
secondary
#5A3B89
accent
#48E084
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9DCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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