#97986C#97986C

#97986C is a light, moderate yellow. Relative luminance 0.301; OKLCH L 66.8% C 0.061 H 109.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#97986C
RGBrgb(151, 152, 108)
HSLhsl(61, 18%, 51%)
HSVhsv(61, 29%, 60%)
CMYKcmyk(0.7%, 0%, 28.9%, 40.4%)
CIE-LABlab(61.76, -7.71, 23.11)
CIE-LCHlch(61.76, 24.36, 108.44°)
OKLaboklab(66.76% -0.02 0.0579)
OKLCHoklch(66.76% 0.061 109)
XYZxyz(26.6976, 30.1189, 18.5916)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97986C #6D6C98
analogous
#98836C #97986C #81986C
triadic
#97986C #6C9798 #986C97
tetradic
#97986C #6C9883 #6D6C98 #986C81
square
#97986C #6C9883 #6D6C98 #986C81
split-complementary
#97986C #6C8198 #836C98
monochromatic
#505139 #747552 #97986C #B0B190 #CACAB4

Accessibility & contrast

On white

2.99
#97986C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#97986C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97986C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97986C#FFFFFF#000000##000000
##97986C1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9469
Deuteranopia (green-blind)
#A0966E
Tritanopia (blue-blind)
#9D938C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #97986c;
/* rgb */ color: rgb(151, 152, 108);
/* oklch */ color: oklch(66.8% 0.061 109.0);
Tailwind
colors: {
  custom: {
    50: '#b6b696',
    500: '#97986c',
    950: '#000000',
  },
}
SCSS
$custom: #97986c;
$custom-light: #b6b696;
$custom-dark: #000000;
JSON
{
  "hex": "#97986c",
  "rgb": {
    "r": 151,
    "g": 152,
    "b": 108
  },
  "hsl": {
    "h": 61.364,
    "s": 17.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.66759,
    "c": 0.06123,
    "h": 109
  },
  "luminance": 0.30118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97986C

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

Preview Lab → · Contrast checker → · Palette generator →

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