#96987F#96987F

#96987F is a light, muted yellow. Relative luminance 0.305; OKLCH L 67.1% C 0.036 H 111.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#96987F
RGBrgb(150, 152, 127)
HSLhsl(65, 11%, 55%)
HSVhsv(65, 16%, 60%)
CMYKcmyk(1.3%, 0%, 16.4%, 40.4%)
CIE-LABlab(62.06, -5.22, 12.94)
CIE-LCHlch(62.06, 13.95, 111.97°)
OKLaboklab(67.11% -0.0128 0.0333)
OKLCHoklch(67.11% 0.036 111.1)
XYZxyz(27.6363, 30.4730, 24.5005)
Luminance0.3047 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96987F #817F98
analogous
#988E7F #96987F #8A987F
triadic
#96987F #7F9698 #987F96
tetradic
#96987F #7F988E #817F98 #987F8A
square
#96987F #7F988E #817F98 #987F8A
split-complementary
#96987F #7F8A98 #8E7F98
monochromatic
#555746 #777961 #96987F #B2B3A1 #CECFC3

Accessibility & contrast

On white

2.96
#96987F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#96987F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96987F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96987F#FFFFFF#000000##000000
##96987F1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C967E
Deuteranopia (green-blind)
#9C9680
Tritanopia (blue-blind)
#9A9591
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #96987f;
/* rgb */ color: rgb(150, 152, 127);
/* oklch */ color: oklch(67.1% 0.036 111.1);
Tailwind
colors: {
  custom: {
    50: '#b5b6a4',
    500: '#96987f',
    950: '#000000',
  },
}
SCSS
$custom: #96987f;
$custom-light: #b5b6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#96987f",
  "rgb": {
    "r": 150,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 64.8,
    "s": 10.823,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67106,
    "c": 0.0357,
    "h": 111.1
  },
  "luminance": 0.30473
}

Semantic roles & 50–950 ramp

primary
#96987F
secondary
#B5B4BF
accent
#74B479
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#11110F
muted
#80807F

Preview Lab

Preview with #96987F

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

Preview Lab → · Contrast checker → · Palette generator →

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