#9ECD51#9ECD51

#9ECD51 is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.0% C 0.161 H 127.3°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#9ECD51
RGBrgb(158, 205, 81)
HSLhsl(83, 55%, 56%)
HSVhsv(83, 60%, 80%)
CMYKcmyk(22.9%, 0%, 60.5%, 19.6%)
CIE-LABlab(77.00, -34.40, 55.34)
CIE-LCHlch(77.00, 65.15, 121.86°)
OKLaboklab(78.99% -0.0974 0.128)
OKLCHoklch(78.99% 0.161 127.3)
XYZxyz(37.4170, 51.5252, 15.7570)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECD51 #8051CD
analogous
#CDBE51 #9ECD51 #60CD51
triadic
#9ECD51 #519ECD #CD519E
tetradic
#9ECD51 #51CDBE #8051CD #CD5160
square
#9ECD51 #51CDBE #8051CD #CD5160
split-complementary
#9ECD51 #5160CD #BE51CD
monochromatic
#5D7F25 #7FAF32 #9ECD51 #B9DB81 #D3E8B0

Accessibility & contrast

On white

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

On black

11.31
#9ECD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECD51
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECD51#FFFFFF#000000##000000
##9ECD511.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ecd51;
/* rgb */ color: rgb(158, 205, 81);
/* oklch */ color: oklch(79.0% 0.161 127.3);
Tailwind
colors: {
  custom: {
    50: '#bedc87',
    500: '#9ecd51',
    950: '#000000',
  },
}
SCSS
$custom: #9ecd51;
$custom-light: #bedc87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecd51",
  "rgb": {
    "r": 158,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 82.742,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78992,
    "c": 0.16087,
    "h": 127.3
  },
  "luminance": 0.51526
}

Semantic roles & 50–950 ramp

primary
#9ECD51
secondary
#583B87
accent
#49DF82
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9ECD51

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

Preview Lab → · Contrast checker → · Palette generator →

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