#9ECD40#9ECD40

#9ECD40 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 78.8% C 0.173 H 126.2°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#9ECD40
RGBrgb(158, 205, 64)
HSLhsl(80, 59%, 53%)
HSVhsv(80, 69%, 80%)
CMYKcmyk(22.9%, 0%, 68.8%, 19.6%)
CIE-LABlab(76.86, -35.65, 62.11)
CIE-LCHlch(76.86, 71.61, 119.86°)
OKLaboklab(78.84% -0.1024 0.1401)
OKLCHoklch(78.84% 0.174 126.2)
XYZxyz(36.8574, 51.3014, 12.8098)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECD40 #6F40CD
analogous
#CDB540 #9ECD40 #57CD40
triadic
#9ECD40 #409ECD #CD409E
tetradic
#9ECD40 #40CDB5 #6F40CD #CD4057
square
#9ECD40 #40CDB5 #6F40CD #CD4057
split-complementary
#9ECD40 #4057CD #B540CD
monochromatic
#58741E #7CA52B #9ECD40 #B7DA71 #CFE6A1

Accessibility & contrast

On white

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

On black

11.26
#9ECD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECD40
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECD40#FFFFFF#000000##000000
##9ECD401.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#A4C4B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #9ecd40;
/* rgb */ color: rgb(158, 205, 64);
/* oklch */ color: oklch(78.8% 0.173 126.2);
Tailwind
colors: {
  custom: {
    50: '#bedc7d',
    500: '#9ecd40',
    950: '#000000',
  },
}
SCSS
$custom: #9ecd40;
$custom-light: #bedc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecd40",
  "rgb": {
    "r": 158,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 80,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7884,
    "c": 0.1735,
    "h": 126.2
  },
  "luminance": 0.51302
}

Semantic roles & 50–950 ramp

primary
#9ECD40
secondary
#4D347D
accent
#46E27A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECD40

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

Preview Lab → · Contrast checker → · Palette generator →

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