#97996C#97996C

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

Color values

HEX#97996C
RGBrgb(151, 153, 108)
HSLhsl(63, 18%, 51%)
HSVhsv(63, 29%, 60%)
CMYKcmyk(1.3%, 0%, 29.4%, 40%)
CIE-LABlab(62.04, -8.25, 23.48)
CIE-LCHlch(62.04, 24.89, 109.35°)
OKLaboklab(66.98% -0.0215 0.0588)
OKLCHoklch(66.98% 0.063 110.1)
XYZxyz(26.8606, 30.4448, 18.6459)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97996C #6E6C99
analogous
#99846C #97996C #80996C
triadic
#97996C #6C9799 #996C97
tetradic
#97996C #6C9984 #6E6C99 #996C80
square
#97996C #6C9984 #6E6C99 #996C80
split-complementary
#97996C #6C8099 #846C99
monochromatic
#515239 #747652 #97996C #B1B290 #CACBB4

Accessibility & contrast

On white

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

On black

7.09
#97996C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97996C
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97996C#FFFFFF#000000##000000
##97996C1.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)
#A09569
Deuteranopia (green-blind)
#A0976E
Tritanopia (blue-blind)
#9D948D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #97996c;
/* rgb */ color: rgb(151, 153, 108);
/* oklch */ color: oklch(67.0% 0.063 110.1);
Tailwind
colors: {
  custom: {
    50: '#b6b796',
    500: '#97996c',
    950: '#000000',
  },
}
SCSS
$custom: #97996c;
$custom-light: #b6b796;
$custom-dark: #000000;
JSON
{
  "hex": "#97996c",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 108
  },
  "hsl": {
    "h": 62.667,
    "s": 18.072,
    "l": 51.176
  },
  "oklch": {
    "l": 0.66981,
    "c": 0.06259,
    "h": 110.1
  },
  "luminance": 0.30444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97996C

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

Preview Lab → · Contrast checker → · Palette generator →

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