#9EB56C#9EB56C

#9EB56C is a light, moderate yellow-green. Relative luminance 0.414; OKLCH L 73.8% C 0.101 H 123.1°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#9EB56C
RGBrgb(158, 181, 108)
HSLhsl(79, 33%, 57%)
HSVhsv(79, 40%, 71%)
CMYKcmyk(12.7%, 0%, 40.3%, 29%)
CIE-LABlab(70.45, -20.06, 34.58)
CIE-LCHlch(70.45, 39.98, 120.11°)
OKLaboklab(73.83% -0.0552 0.0846)
OKLCHoklch(73.83% 0.101 123.1)
XYZxyz(33.3311, 41.3995, 20.4194)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB56C #836CB5
analogous
#B5A86C #9EB56C #7AB56C
triadic
#9EB56C #6C9EB5 #B56C9E
tetradic
#9EB56C #6CB5A8 #836CB5 #B56C7A
square
#9EB56C #6CB5A8 #836CB5 #B56C7A
split-complementary
#9EB56C #6C7AB5 #A86CB5
monochromatic
#5D6F38 #80984C #9EB56C #B9C995 #D4DEBD

Accessibility & contrast

On white

2.26
#9EB56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#9EB56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB56C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB56C#FFFFFF#000000##000000
##9EB56C1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAD66
Deuteranopia (green-blind)
#BAAC70
Tritanopia (blue-blind)
#A3AEA3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9eb56c;
/* rgb */ color: rgb(158, 181, 108);
/* oklch */ color: oklch(73.8% 0.101 123.1);
Tailwind
colors: {
  custom: {
    50: '#bccb97',
    500: '#9eb56c',
    950: '#000000',
  },
}
SCSS
$custom: #9eb56c;
$custom-light: #bccb97;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb56c",
  "rgb": {
    "r": 158,
    "g": 181,
    "b": 108
  },
  "hsl": {
    "h": 78.904,
    "s": 33.032,
    "l": 56.667
  },
  "oklch": {
    "l": 0.73827,
    "c": 0.10099,
    "h": 123.1
  },
  "luminance": 0.414
}

Semantic roles & 50–950 ramp

primary
#9EB56C
secondary
#B9AFCD
accent
#5FC980
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130D
muted
#81827E

Preview Lab

Preview with #9EB56C

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

Preview Lab → · Contrast checker → · Palette generator →

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