#9EA151#9EA151

#9EA151 is a light, moderate yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.104 H 110.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9EA151
RGBrgb(158, 161, 81)
HSLhsl(62, 33%, 47%)
HSVhsv(62, 50%, 63%)
CMYKcmyk(1.9%, 0%, 49.7%, 36.9%)
CIE-LABlab(64.45, -12.75, 40.91)
CIE-LCHlch(64.45, 42.85, 107.31°)
OKLaboklab(68.91% -0.0367 0.0969)
OKLCHoklch(68.91% 0.104 110.7)
XYZxyz(28.3312, 33.3535, 12.7284)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA151 #5451A1
analogous
#A17C51 #9EA151 #76A151
triadic
#9EA151 #519EA1 #A1519E
tetradic
#9EA151 #51A17C #5451A1 #A15176
square
#9EA151 #51A17C #5451A1 #A15176
split-complementary
#9EA151 #5176A1 #7C51A1
monochromatic
#4E5028 #76783D #9EA151 #B7BA75 #CCCE9E

Accessibility & contrast

On white

2.74
#9EA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#9EA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA151
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA151#FFFFFF#000000##000000
##9EA1511.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B4A
Deuteranopia (green-blind)
#AC9D55
Tritanopia (blue-blind)
#A7998F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea151;
/* rgb */ color: rgb(158, 161, 81);
/* oklch */ color: oklch(68.9% 0.104 110.7);
Tailwind
colors: {
  custom: {
    50: '#bcbc84',
    500: '#9ea151',
    950: '#000000',
  },
}
SCSS
$custom: #9ea151;
$custom-light: #bcbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea151",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 62.25,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68907,
    "c": 0.10366,
    "h": 110.7
  },
  "luminance": 0.33353
}

Semantic roles & 50–950 ramp

primary
#9EA151
secondary
#9493BB
accent
#5FC963
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9EA151

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

Preview Lab → · Contrast checker → · Palette generator →

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