#9EB256#9EB256

#9EB256 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.8% C 0.120 H 119.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#9EB256
RGBrgb(158, 178, 86)
HSLhsl(73, 37%, 52%)
HSVhsv(73, 52%, 70%)
CMYKcmyk(11.2%, 0%, 51.7%, 30.2%)
CIE-LABlab(69.31, -20.98, 44.24)
CIE-LCHlch(69.31, 48.96, 115.38°)
OKLaboklab(72.82% -0.0595 0.1047)
OKLCHoklch(72.82% 0.12 119.6)
XYZxyz(31.7009, 39.7819, 14.8109)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB256 #6A56B2
analogous
#B29856 #9EB256 #70B256
triadic
#9EB256 #569EB2 #B2569E
tetradic
#9EB256 #56B298 #6A56B2 #B25670
square
#9EB256 #56B298 #6A56B2 #B25670
split-complementary
#9EB256 #5670B2 #9856B2
monochromatic
#56612C #7B8B3F #9EB256 #B6C580 #CED8AA

Accessibility & contrast

On white

2.34
#9EB256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#9EB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB256
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB256#FFFFFF#000000##000000
##9EB2561.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94D
Deuteranopia (green-blind)
#B9AA5B
Tritanopia (blue-blind)
#A5AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb256;
/* rgb */ color: rgb(158, 178, 86);
/* oklch */ color: oklch(72.8% 0.120 119.6);
Tailwind
colors: {
  custom: {
    50: '#bcc988',
    500: '#9eb256',
    950: '#000000',
  },
}
SCSS
$custom: #9eb256;
$custom-light: #bcc988;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb256",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 73.043,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72819,
    "c": 0.12041,
    "h": 119.6
  },
  "luminance": 0.39782
}

Semantic roles & 50–950 ramp

primary
#9EB256
secondary
#A69EC6
accent
#5ACD73
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #9EB256

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

Preview Lab → · Contrast checker → · Palette generator →

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