#9ECC4E#9ECC4E

#9ECC4E is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.7% C 0.162 H 126.8°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#9ECC4E
RGBrgb(158, 204, 78)
HSLhsl(82, 55%, 55%)
HSVhsv(82, 62%, 80%)
CMYKcmyk(22.5%, 0%, 61.8%, 20%)
CIE-LABlab(76.68, -34.18, 56.28)
CIE-LCHlch(76.68, 65.84, 121.27°)
OKLaboklab(78.73% -0.0971 0.1297)
OKLCHoklch(78.73% 0.162 126.8)
XYZxyz(37.0686, 51.0043, 15.0981)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC4E #7C4ECC
analogous
#CCBB4E #9ECC4E #5FCC4E
triadic
#9ECC4E #4E9ECC #CC4E9E
tetradic
#9ECC4E #4ECCBB #7C4ECC #CC4E5F
square
#9ECC4E #4ECCBB #7C4ECC #CC4E5F
split-complementary
#9ECC4E #4E5FCC #BB4ECC
monochromatic
#5C7C24 #7FAB31 #9ECC4E #B8DA7E #D2E7AD

Accessibility & contrast

On white

1.87
#9ECC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#9ECC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC4E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC4E#FFFFFF#000000##000000
##9ECC4E1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ecc4e;
/* rgb */ color: rgb(158, 204, 78);
/* oklch */ color: oklch(78.7% 0.162 126.8);
Tailwind
colors: {
  custom: {
    50: '#bedb85',
    500: '#9ecc4e',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc4e;
$custom-light: #bedb85;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc4e",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 81.905,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78729,
    "c": 0.16199,
    "h": 126.8
  },
  "luminance": 0.51005
}

Semantic roles & 50–950 ramp

primary
#9ECC4E
secondary
#553A84
accent
#49DF80
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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