#97996B#97996B

#97996B is a light, moderate yellow. Relative luminance 0.304; OKLCH L 67.0% C 0.064 H 110.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#97996B
RGBrgb(151, 153, 107)
HSLhsl(63, 18%, 51%)
HSVhsv(63, 30%, 60%)
CMYKcmyk(1.3%, 0%, 30.1%, 40%)
CIE-LABlab(62.02, -8.38, 24.01)
CIE-LCHlch(62.02, 25.43, 109.25°)
OKLaboklab(66.96% -0.0219 0.06)
OKLCHoklch(66.96% 0.064 110.1)
XYZxyz(26.8076, 30.4237, 18.3672)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97996B #6D6B99
analogous
#99846B #97996B #80996B
triadic
#97996B #6B9799 #996B97
tetradic
#97996B #6B9984 #6D6B99 #996B80
square
#97996B #6B9984 #6D6B99 #996B80
split-complementary
#97996B #6B8099 #846B99
monochromatic
#505138 #747651 #97996B #B0B28F #CACBB3

Accessibility & contrast

On white

2.96
#97996B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#97996B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97996B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97996B#FFFFFF#000000##000000
##97996B1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09568
Deuteranopia (green-blind)
#A1976D
Tritanopia (blue-blind)
#9D938D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #97996b;
/* rgb */ color: rgb(151, 153, 107);
/* oklch */ color: oklch(67.0% 0.064 110.1);
Tailwind
colors: {
  custom: {
    50: '#b6b795',
    500: '#97996b',
    950: '#000000',
  },
}
SCSS
$custom: #97996b;
$custom-light: #b6b795;
$custom-dark: #000000;
JSON
{
  "hex": "#97996b",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 107
  },
  "hsl": {
    "h": 62.609,
    "s": 18.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.66961,
    "c": 0.06387,
    "h": 110.1
  },
  "luminance": 0.30423
}

Semantic roles & 50–950 ramp

primary
#97996B
secondary
#A7A6BA
accent
#6DBB70
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #97996B

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

Preview Lab → · Contrast checker → · Palette generator →

#97996B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva