#9EC478#9EC478

#9EC478 is a light, moderate yellow-green. Relative luminance 0.481; OKLCH L 77.4% C 0.110 H 130.2°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#9EC478
RGBrgb(158, 196, 120)
HSLhsl(90, 39%, 62%)
HSVhsv(90, 39%, 77%)
CMYKcmyk(19.4%, 0%, 38.8%, 23.1%)
CIE-LABlab(74.89, -25.93, 34.09)
CIE-LCHlch(74.89, 42.84, 127.26°)
OKLaboklab(77.45% -0.0711 0.0839)
OKLCHoklch(77.45% 0.11 130.2)
XYZxyz(37.2301, 48.1044, 25.0893)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC478 #9E78C4
analogous
#C4C478 #9EC478 #78C478
triadic
#9EC478 #789EC4 #C4789E
tetradic
#9EC478 #78C4C4 #9E78C4 #C47878
square
#9EC478 #78C4C4 #9E78C4 #C47878
split-complementary
#9EC478 #7878C4 #C478C4
monochromatic
#61873B #7FB14D #9EC478 #BDD7A3 #DBE9CD

Accessibility & contrast

On white

1.98
#9EC478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#9EC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC478
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC478#FFFFFF#000000##000000
##9EC4781.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBA72
Deuteranopia (green-blind)
#C5B77C
Tritanopia (blue-blind)
#A0BEB1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #9ec478;
/* rgb */ color: rgb(158, 196, 120);
/* oklch */ color: oklch(77.4% 0.110 130.2);
Tailwind
colors: {
  custom: {
    50: '#bcd6a0',
    500: '#9ec478',
    950: '#000000',
  },
}
SCSS
$custom: #9ec478;
$custom-light: #bcd6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec478",
  "rgb": {
    "r": 158,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 90,
    "s": 39.175,
    "l": 61.961
  },
  "oklch": {
    "l": 0.77446,
    "c": 0.10998,
    "h": 130.2
  },
  "luminance": 0.48105
}

Semantic roles & 50–950 ramp

primary
#9EC478
secondary
#CCBEDA
accent
#33B273
background
#FBFDF9
surface
#F6FAF2
border
#D0D3CC
text
#12140F
muted
#81837E

Preview Lab

Preview with #9EC478

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

Preview Lab → · Contrast checker → · Palette generator →

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