#96997D#96997D

#96997D is a light, muted yellow. Relative luminance 0.307; OKLCH L 67.3% C 0.040 H 112.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#96997D
RGBrgb(150, 153, 125)
HSLhsl(66, 12%, 55%)
HSVhsv(66, 18%, 60%)
CMYKcmyk(2%, 0%, 18.3%, 40%)
CIE-LABlab(62.29, -6.09, 14.39)
CIE-LCHlch(62.29, 15.62, 112.95°)
OKLaboklab(67.28% -0.0152 0.0369)
OKLCHoklch(67.28% 0.04 112.4)
XYZxyz(27.6703, 30.7474, 23.8752)
Luminance0.3075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96997D #807D99
analogous
#998E7D #96997D #88997D
triadic
#96997D #7D9699 #997D96
tetradic
#96997D #7D998E #807D99 #997D88
square
#96997D #7D998E #807D99 #997D88
split-complementary
#96997D #7D8899 #8E7D99
monochromatic
#555744 #77795F #96997D #B2B49F #CDCFC2

Accessibility & contrast

On white

2.94
#96997D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#96997D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96997D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96997D#FFFFFF#000000##000000
##96997D1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E967B
Deuteranopia (green-blind)
#9D977E
Tritanopia (blue-blind)
#9A9691
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #96997d;
/* rgb */ color: rgb(150, 153, 125);
/* oklch */ color: oklch(67.3% 0.040 112.4);
Tailwind
colors: {
  custom: {
    50: '#b5b7a2',
    500: '#96997d',
    950: '#000000',
  },
}
SCSS
$custom: #96997d;
$custom-light: #b5b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#96997d",
  "rgb": {
    "r": 150,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 66.429,
    "s": 12.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.67276,
    "c": 0.03992,
    "h": 112.4
  },
  "luminance": 0.30747
}

Semantic roles & 50–950 ramp

primary
#96997D
secondary
#B4B3BF
accent
#73B57A
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #96997D

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

Preview Lab → · Contrast checker → · Palette generator →

#96997D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva