#9EA256#9EA256

#9EA256 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.100 H 111.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9EA256
RGBrgb(158, 162, 86)
HSLhsl(63, 31%, 49%)
HSVhsv(63, 47%, 64%)
CMYKcmyk(2.5%, 0%, 46.9%, 36.5%)
CIE-LABlab(64.79, -12.78, 38.80)
CIE-LCHlch(64.79, 40.85, 108.23°)
OKLaboklab(69.2% -0.0363 0.0927)
OKLCHoklch(69.2% 0.1 111.4)
XYZxyz(28.7011, 33.7822, 13.8110)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA256 #5A56A2
analogous
#A28056 #9EA256 #78A256
triadic
#9EA256 #569EA2 #A2569E
tetradic
#9EA256 #56A280 #5A56A2 #A25678
square
#9EA256 #56A280 #5A56A2 #A25678
split-complementary
#9EA256 #5678A2 #8056A2
monochromatic
#50522C #777A41 #9EA256 #B6B97C #CCCFA4

Accessibility & contrast

On white

2.71
#9EA256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#9EA256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA256
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA256#FFFFFF#000000##000000
##9EA2561.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C4F
Deuteranopia (green-blind)
#AD9E5A
Tritanopia (blue-blind)
#A79A90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ea256;
/* rgb */ color: rgb(158, 162, 86);
/* oklch */ color: oklch(69.2% 0.100 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd87',
    500: '#9ea256',
    950: '#000000',
  },
}
SCSS
$custom: #9ea256;
$custom-light: #bcbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea256",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 63.158,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.692,
    "c": 0.09959,
    "h": 111.4
  },
  "luminance": 0.33782
}

Semantic roles & 50–950 ramp

primary
#9EA256
secondary
#9A98BC
accent
#61C766
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9EA256

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

Preview Lab → · Contrast checker → · Palette generator →

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