#9ECD5B#9ECD5B

#9ECD5B is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.1% C 0.152 H 128.2°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#9ECD5B
RGBrgb(158, 205, 91)
HSLhsl(85, 53%, 58%)
HSVhsv(85, 56%, 80%)
CMYKcmyk(22.9%, 0%, 55.6%, 19.6%)
CIE-LABlab(77.09, -33.50, 50.98)
CIE-LCHlch(77.09, 61.01, 123.31°)
OKLaboklab(79.1% -0.0941 0.1197)
OKLCHoklch(79.1% 0.152 128.2)
XYZxyz(37.8200, 51.6864, 17.8794)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECD5B #8A5BCD
analogous
#CDC35B #9ECD5B #65CD5B
triadic
#9ECD5B #5B9ECD #CD5B9E
tetradic
#9ECD5B #5BCDC3 #8A5BCD #CD5B65
square
#9ECD5B #5BCDC3 #8A5BCD #CD5B65
split-complementary
#9ECD5B #5B65CD #C35BCD
monochromatic
#5F8529 #80B437 #9ECD5B #BADB8A #D5EAB9

Accessibility & contrast

On white

1.85
#9ECD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#9ECD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECD5B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECD5B#FFFFFF#000000##000000
##9ECD5B1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C050
Deuteranopia (green-blind)
#CFBD63
Tritanopia (blue-blind)
#A2C5B4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #9ecd5b;
/* rgb */ color: rgb(158, 205, 91);
/* oklch */ color: oklch(79.1% 0.152 128.2);
Tailwind
colors: {
  custom: {
    50: '#bddc8d',
    500: '#9ecd5b',
    950: '#000000',
  },
}
SCSS
$custom: #9ecd5b;
$custom-light: #bddc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecd5b",
  "rgb": {
    "r": 158,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 84.737,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79102,
    "c": 0.15229,
    "h": 128.2
  },
  "luminance": 0.51687
}

Semantic roles & 50–950 ramp

primary
#9ECD5B
secondary
#5F408C
accent
#4BDD87
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #9ECD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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