#9ECB40#9ECB40

#9ECB40 is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.4% C 0.171 H 125.7°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#9ECB40
RGBrgb(158, 203, 64)
HSLhsl(79, 57%, 52%)
HSVhsv(79, 68%, 80%)
CMYKcmyk(22.2%, 0%, 68.5%, 20.4%)
CIE-LABlab(76.28, -34.74, 61.52)
CIE-LCHlch(76.28, 70.65, 119.45°)
OKLaboklab(78.37% -0.0999 0.1388)
OKLCHoklch(78.37% 0.171 125.7)
XYZxyz(36.3821, 50.3506, 12.6514)
Luminance0.5035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECB40 #6D40CB
analogous
#CBB240 #9ECB40 #59CB40
triadic
#9ECB40 #409ECB #CB409E
tetradic
#9ECB40 #40CBB2 #6D40CB #CB4059
square
#9ECB40 #40CBB2 #6D40CB #CB4059
split-complementary
#9ECB40 #4059CB #B240CB
monochromatic
#57721F #7CA22C #9ECB40 #B6D870 #CFE5A0

Accessibility & contrast

On white

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

On black

11.07
#9ECB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECB40
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECB40#FFFFFF#000000##000000
##9ECB401.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D0BB4B
Tritanopia (blue-blind)
#A5C2AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9ecb40;
/* rgb */ color: rgb(158, 203, 64);
/* oklch */ color: oklch(78.4% 0.171 125.7);
Tailwind
colors: {
  custom: {
    50: '#bedb7d',
    500: '#9ecb40',
    950: '#000000',
  },
}
SCSS
$custom: #9ecb40;
$custom-light: #bedb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecb40",
  "rgb": {
    "r": 158,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 79.424,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78372,
    "c": 0.17102,
    "h": 125.7
  },
  "luminance": 0.50351
}

Semantic roles & 50–950 ramp

primary
#9ECB40
secondary
#4B357B
accent
#47E079
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9ECB40

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

Preview Lab → · Contrast checker → · Palette generator →

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