#9ECB5A#9ECB5A

#9ECB5A is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.6% C 0.150 H 127.6°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#9ECB5A
RGBrgb(158, 203, 90)
HSLhsl(84, 52%, 57%)
HSVhsv(84, 56%, 80%)
CMYKcmyk(22.2%, 0%, 55.7%, 20.4%)
CIE-LABlab(76.51, -32.67, 50.77)
CIE-LCHlch(76.51, 60.37, 122.76°)
OKLaboklab(78.63% -0.0919 0.1192)
OKLCHoklch(78.63% 0.15 127.6)
XYZxyz(37.3018, 50.7185, 17.4953)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECB5A #875ACB
analogous
#CBC05A #9ECB5A #65CB5A
triadic
#9ECB5A #5A9ECB #CB5A9E
tetradic
#9ECB5A #5ACBC0 #875ACB #CB5A65
square
#9ECB5A #5ACBC0 #875ACB #CB5A65
split-complementary
#9ECB5A #5A65CB #C05ACB
monochromatic
#5E8229 #80B038 #9ECB5A #B9DA89 #D5E8B7

Accessibility & contrast

On white

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

On black

11.14
#9ECB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECB5A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECB5A#FFFFFF#000000##000000
##9ECB5A1.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4F
Deuteranopia (green-blind)
#CEBC61
Tritanopia (blue-blind)
#A3C3B2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecb5a;
/* rgb */ color: rgb(158, 203, 90);
/* oklch */ color: oklch(78.6% 0.150 127.6);
Tailwind
colors: {
  custom: {
    50: '#bddb8c',
    500: '#9ecb5a',
    950: '#000000',
  },
}
SCSS
$custom: #9ecb5a;
$custom-light: #bddb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecb5a",
  "rgb": {
    "r": 158,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 83.894,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78626,
    "c": 0.15047,
    "h": 127.6
  },
  "luminance": 0.50719
}

Semantic roles & 50–950 ramp

primary
#9ECB5A
secondary
#5D4089
accent
#4CDC85
background
#FDFEFC
surface
#F9FBF4
border
#D2D4CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #9ECB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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