#9ECC41#9ECC41

#9ECC41 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.6% C 0.172 H 126.0°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#9ECC41
RGBrgb(158, 204, 65)
HSLhsl(80, 58%, 53%)
HSVhsv(80, 68%, 80%)
CMYKcmyk(22.5%, 0%, 68.1%, 20%)
CIE-LABlab(76.58, -35.13, 61.44)
CIE-LCHlch(76.58, 70.77, 119.76°)
OKLaboklab(78.61% -0.1008 0.1388)
OKLCHoklch(78.61% 0.172 126)
XYZxyz(36.6477, 50.8360, 12.8816)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC41 #6F41CC
analogous
#CCB441 #9ECC41 #59CC41
triadic
#9ECC41 #419ECC #CC419E
tetradic
#9ECC41 #41CCB4 #6F41CC #CC4159
square
#9ECC41 #41CCB4 #6F41CC #CC4159
split-complementary
#9ECC41 #4159CC #B441CC
monochromatic
#58741F #7CA42C #9ECC41 #B7D971 #CFE6A1

Accessibility & contrast

On white

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

On black

11.17
#9ECC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC41
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC41#FFFFFF#000000##000000
##9ECC411.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2C
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#A4C3B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc41;
/* rgb */ color: rgb(158, 204, 65);
/* oklch */ color: oklch(78.6% 0.172 126.0);
Tailwind
colors: {
  custom: {
    50: '#bedb7d',
    500: '#9ecc41',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc41;
$custom-light: #bedb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc41",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 79.856,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78614,
    "c": 0.17159,
    "h": 126
  },
  "luminance": 0.50836
}

Semantic roles & 50–950 ramp

primary
#9ECC41
secondary
#4D357C
accent
#47E17A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9ECC41

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

Preview Lab → · Contrast checker → · Palette generator →

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