#96987A#96987A

#96987A is a light, muted yellow. Relative luminance 0.303; OKLCH L 67.0% C 0.043 H 110.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#96987A
RGBrgb(150, 152, 122)
HSLhsl(64, 13%, 54%)
HSVhsv(64, 20%, 60%)
CMYKcmyk(1.3%, 0%, 19.7%, 40.4%)
CIE-LABlab(61.95, -6.03, 15.59)
CIE-LCHlch(61.95, 16.71, 111.14°)
OKLaboklab(66.98% -0.015 0.0399)
OKLCHoklch(66.98% 0.043 110.6)
XYZxyz(27.3185, 30.3459, 22.8268)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96987A #7C7A98
analogous
#988B7A #96987A #87987A
triadic
#96987A #7A9698 #987A96
tetradic
#96987A #7A988B #7C7A98 #987A87
square
#96987A #7A988B #7C7A98 #987A87
split-complementary
#96987A #7A8798 #8B7A98
monochromatic
#545542 #76785D #96987A #B1B39C #CCCDBF

Accessibility & contrast

On white

2.97
#96987A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#96987A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96987A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96987A#FFFFFF#000000##000000
##96987A1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9578
Deuteranopia (green-blind)
#9D967B
Tritanopia (blue-blind)
#9A9490
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #96987a;
/* rgb */ color: rgb(150, 152, 122);
/* oklch */ color: oklch(67.0% 0.043 110.6);
Tailwind
colors: {
  custom: {
    50: '#b5b6a0',
    500: '#96987a',
    950: '#000000',
  },
}
SCSS
$custom: #96987a;
$custom-light: #b5b6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#96987a",
  "rgb": {
    "r": 150,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 64,
    "s": 12.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.66984,
    "c": 0.04259,
    "h": 110.6
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#96987A
secondary
#B1B0BD
accent
#72B677
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #96987A

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

Preview Lab → · Contrast checker → · Palette generator →

#96987A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva