#9ECC47#9ECC47

#9ECC47 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.7% C 0.167 H 126.3°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#9ECC47
RGBrgb(158, 204, 71)
HSLhsl(81, 57%, 54%)
HSVhsv(81, 65%, 80%)
CMYKcmyk(22.5%, 0%, 65.2%, 20%)
CIE-LABlab(76.62, -34.72, 59.12)
CIE-LCHlch(76.62, 68.56, 120.42°)
OKLaboklab(78.66% -0.0992 0.1348)
OKLCHoklch(78.66% 0.167 126.3)
XYZxyz(36.8308, 50.9092, 13.8461)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC47 #7547CC
analogous
#CCB847 #9ECC47 #5CCC47
triadic
#9ECC47 #479ECC #CC479E
tetradic
#9ECC47 #47CCB8 #7547CC #CC475C
square
#9ECC47 #47CCB8 #7547CC #CC475C
split-complementary
#9ECC47 #475CCC #B847CC
monochromatic
#5A7721 #7EA72E #9ECC47 #B7D977 #D1E7A7

Accessibility & contrast

On white

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

On black

11.18
#9ECC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC47
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC47#FFFFFF#000000##000000
##9ECC471.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF35
Deuteranopia (green-blind)
#D0BC51
Tritanopia (blue-blind)
#A4C3B1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc47;
/* rgb */ color: rgb(158, 204, 71);
/* oklch */ color: oklch(78.7% 0.167 126.3);
Tailwind
colors: {
  custom: {
    50: '#bedb81',
    500: '#9ecc47',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc47;
$custom-light: #bedb81;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc47",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 80.752,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78664,
    "c": 0.16735,
    "h": 126.3
  },
  "luminance": 0.5091
}

Semantic roles & 50–950 ramp

primary
#9ECC47
secondary
#503780
accent
#48E07C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECC47

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

Preview Lab → · Contrast checker → · Palette generator →

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