#9EC956#9EC956

#9EC956 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.1% C 0.151 H 126.8°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#9EC956
RGBrgb(158, 201, 86)
HSLhsl(82, 52%, 56%)
HSVhsv(82, 57%, 79%)
CMYKcmyk(21.4%, 0%, 57.2%, 21.2%)
CIE-LABlab(75.89, -32.11, 51.88)
CIE-LCHlch(75.89, 61.01, 121.75°)
OKLaboklab(78.12% -0.0906 0.1212)
OKLCHoklch(78.12% 0.151 126.8)
XYZxyz(36.6669, 49.7137, 16.4662)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC956 #8156C9
analogous
#C9BB56 #9EC956 #65C956
triadic
#9EC956 #569EC9 #C9569E
tetradic
#9EC956 #56C9BB #8156C9 #C95665
square
#9EC956 #56C9BB #8156C9 #C95665
split-complementary
#9EC956 #5665C9 #BB56C9
monochromatic
#5D7D28 #80AB37 #9EC956 #B9D884 #D3E7B3

Accessibility & contrast

On white

1.92
#9EC956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#9EC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC956
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC956#FFFFFF#000000##000000
##9EC9561.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4A
Deuteranopia (green-blind)
#CCBA5E
Tritanopia (blue-blind)
#A3C1B0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9ec956;
/* rgb */ color: rgb(158, 201, 86);
/* oklch */ color: oklch(78.1% 0.151 126.8);
Tailwind
colors: {
  custom: {
    50: '#bdd989',
    500: '#9ec956',
    950: '#000000',
  },
}
SCSS
$custom: #9ec956;
$custom-light: #bdd989;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec956",
  "rgb": {
    "r": 158,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 82.435,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78116,
    "c": 0.15133,
    "h": 126.8
  },
  "luminance": 0.49714
}

Semantic roles & 50–950 ramp

primary
#9EC956
secondary
#B7A6D5
accent
#4DDB82
background
#FBFDF8
surface
#F7FAF0
border
#D0D3CB
text
#12140C
muted
#81837D

Preview Lab

Preview with #9EC956

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

Preview Lab → · Contrast checker → · Palette generator →

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