#9ECC46#9ECC46

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

Color values

HEX#9ECC46
RGBrgb(158, 204, 70)
HSLhsl(81, 57%, 54%)
HSVhsv(81, 66%, 80%)
CMYKcmyk(22.5%, 0%, 65.7%, 20%)
CIE-LABlab(76.62, -34.79, 59.52)
CIE-LCHlch(76.62, 68.94, 120.31°)
OKLaboklab(78.66% -0.0995 0.1355)
OKLCHoklch(78.66% 0.168 126.3)
XYZxyz(36.7990, 50.8965, 13.6784)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC46 #7446CC
analogous
#CCB746 #9ECC46 #5BCC46
triadic
#9ECC46 #469ECC #CC469E
tetradic
#9ECC46 #46CCB7 #7446CC #CC465B
square
#9ECC46 #46CCB7 #7446CC #CC465B
split-complementary
#9ECC46 #465BCC #B746CC
monochromatic
#597721 #7DA72E #9ECC46 #B7D976 #D0E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9ECC46#FFFFFF#000000##000000
##9ECC461.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)
#D6BF34
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#A4C3B1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc46;
/* rgb */ color: rgb(158, 204, 70);
/* oklch */ color: oklch(78.7% 0.168 126.3);
Tailwind
colors: {
  custom: {
    50: '#bedb80',
    500: '#9ecc46',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc46;
$custom-light: #bedb80;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc46",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 80.597,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78655,
    "c": 0.16808,
    "h": 126.3
  },
  "luminance": 0.50897
}

Semantic roles & 50–950 ramp

primary
#9ECC46
secondary
#50377F
accent
#48E07C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECC46

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

Preview Lab → · Contrast checker → · Palette generator →

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