#9ECB3B#9ECB3B

#9ECB3B is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.3% C 0.174 H 125.5°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#9ECB3B
RGBrgb(158, 203, 59)
HSLhsl(79, 58%, 51%)
HSVhsv(79, 71%, 80%)
CMYKcmyk(22.2%, 0%, 70.9%, 20.4%)
CIE-LABlab(76.25, -35.05, 63.34)
CIE-LCHlch(76.25, 72.39, 118.96°)
OKLaboklab(78.33% -0.1011 0.1419)
OKLCHoklch(78.33% 0.174 125.5)
XYZxyz(36.2461, 50.2963, 11.9354)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECB3B #683BCB
analogous
#CBB03B #9ECB3B #56CB3B
triadic
#9ECB3B #3B9ECB #CB3B9E
tetradic
#9ECB3B #3BCBB0 #683BCB #CB3B56
square
#9ECB3B #3BCBB0 #683BCB #CB3B56
split-complementary
#9ECB3B #3B56CB #B03BCB
monochromatic
#556E1D #7A9F2A #9ECB3B #B6D86B #CEE59C

Accessibility & contrast

On white

1.90
#9ECB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#9ECB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECB3B
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECB3B#FFFFFF#000000##000000
##9ECB3B1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE22
Deuteranopia (green-blind)
#D0BB48
Tritanopia (blue-blind)
#A5C1AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9ecb3b;
/* rgb */ color: rgb(158, 203, 59);
/* oklch */ color: oklch(78.3% 0.174 125.5);
Tailwind
colors: {
  custom: {
    50: '#bedb7a',
    500: '#9ecb3b',
    950: '#000000',
  },
}
SCSS
$custom: #9ecb3b;
$custom-light: #bedb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecb3b",
  "rgb": {
    "r": 158,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 78.75,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78335,
    "c": 0.17427,
    "h": 125.5
  },
  "luminance": 0.50297
}

Semantic roles & 50–950 ramp

primary
#9ECB3B
secondary
#483378
accent
#47E177
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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