#9EC845#9EC845

#9EC845 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.7% C 0.164 H 125.3°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#9EC845
RGBrgb(158, 200, 69)
HSLhsl(79, 54%, 53%)
HSVhsv(79, 66%, 78%)
CMYKcmyk(21%, 0%, 65.5%, 21.6%)
CIE-LABlab(75.46, -33.01, 58.70)
CIE-LCHlch(75.46, 67.34, 119.36°)
OKLaboklab(77.71% -0.0947 0.1336)
OKLCHoklch(77.71% 0.164 125.3)
XYZxyz(35.8292, 49.0069, 13.2007)
Luminance0.4901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC845 #6F45C8
analogous
#C8B145 #9EC845 #5CC845
triadic
#9EC845 #459EC8 #C8459E
tetradic
#9EC845 #45C8B1 #6F45C8 #C8455C
square
#9EC845 #45C8B1 #6F45C8 #C8455C
split-complementary
#9EC845 #455CC8 #B145C8
monochromatic
#587121 #7CA02F #9EC845 #B7D674 #CFE4A3

Accessibility & contrast

On white

1.94
#9EC845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#9EC845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC845
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC845#FFFFFF#000000##000000
##9EC8451.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB33
Deuteranopia (green-blind)
#CDB94F
Tritanopia (blue-blind)
#A5BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9ec845;
/* rgb */ color: rgb(158, 200, 69);
/* oklch */ color: oklch(77.7% 0.164 125.3);
Tailwind
colors: {
  custom: {
    50: '#bed87f',
    500: '#9ec845',
    950: '#000000',
  },
}
SCSS
$custom: #9ec845;
$custom-light: #bed87f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec845",
  "rgb": {
    "r": 158,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 79.237,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77714,
    "c": 0.16376,
    "h": 125.3
  },
  "luminance": 0.49007
}

Semantic roles & 50–950 ramp

primary
#9EC845
secondary
#AA98D1
accent
#4ADE79
background
#FCFDF8
surface
#F8FAEF
border
#D1D3CA
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC845

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

Preview Lab → · Contrast checker → · Palette generator →

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