#9ECC45#9ECC45

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

Color values

HEX#9ECC45
RGBrgb(158, 204, 69)
HSLhsl(80, 57%, 54%)
HSVhsv(80, 66%, 80%)
CMYKcmyk(22.5%, 0%, 66.2%, 20%)
CIE-LABlab(76.61, -34.86, 59.91)
CIE-LCHlch(76.61, 69.31, 120.19°)
OKLaboklab(78.65% -0.0998 0.1362)
OKLCHoklch(78.65% 0.169 126.2)
XYZxyz(36.7677, 50.8840, 13.5136)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC45 #7345CC
analogous
#CCB645 #9ECC45 #5ACC45
triadic
#9ECC45 #459ECC #CC459E
tetradic
#9ECC45 #45CCB6 #7345CC #CC455A
square
#9ECC45 #45CCB6 #7345CC #CC455A
split-complementary
#9ECC45 #455ACC #B645CC
monochromatic
#597620 #7DA62E #9ECC45 #B7D975 #D0E6A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9ecc45;
/* rgb */ color: rgb(158, 204, 69);
/* oklch */ color: oklch(78.6% 0.169 126.2);
Tailwind
colors: {
  custom: {
    50: '#bedb7f',
    500: '#9ecc45',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc45;
$custom-light: #bedb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc45",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 80.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78647,
    "c": 0.1688,
    "h": 126.2
  },
  "luminance": 0.50885
}

Semantic roles & 50–950 ramp

primary
#9ECC45
secondary
#4F367F
accent
#48E07C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECC45

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

Preview Lab → · Contrast checker → · Palette generator →

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