#978D6B#978D6B

#978D6B is a light, muted yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.049 H 93.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#978D6B
RGBrgb(151, 141, 107)
HSLhsl(46, 17%, 51%)
HSVhsv(46, 29%, 59%)
CMYKcmyk(0%, 6.6%, 29.1%, 40.8%)
CIE-LABlab(58.69, -1.82, 19.53)
CIE-LCHlch(58.69, 19.61, 95.32°)
OKLaboklab(64.33% -0.0031 0.0493)
OKLCHoklch(64.33% 0.049 93.6)
XYZxyz(24.9414, 26.6912, 17.7451)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D6B #6B7597
analogous
#97776B #978D6B #8B976B
triadic
#978D6B #6B978D #8D6B97
tetradic
#978D6B #6B9777 #6B7597 #976B8B
square
#978D6B #6B9777 #6B7597 #976B8B
split-complementary
#978D6B #6B8B97 #776B97
monochromatic
#504A38 #746C51 #978D6B #B0A98F #CAC4B3

Accessibility & contrast

On white

3.31
#978D6B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#978D6B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D6B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D6B#FFFFFF#000000##000000
##978D6B1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948B69
Deuteranopia (green-blind)
#978F6C
Tritanopia (blue-blind)
#9E8884
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978d6b;
/* rgb */ color: rgb(151, 141, 107);
/* oklch */ color: oklch(64.3% 0.049 93.6);
Tailwind
colors: {
  custom: {
    50: '#b6ae95',
    500: '#978d6b',
    950: '#000000',
  },
}
SCSS
$custom: #978d6b;
$custom-light: #b6ae95;
$custom-dark: #000000;
JSON
{
  "hex": "#978d6b",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 107
  },
  "hsl": {
    "h": 46.364,
    "s": 17.46,
    "l": 50.588
  },
  "oklch": {
    "l": 0.64325,
    "c": 0.04939,
    "h": 93.6
  },
  "luminance": 0.26691
}

Semantic roles & 50–950 ramp

primary
#978D6B
secondary
#A5AAB9
accent
#7FBA6E
background
#FBFAF9
surface
#F6F4F1
border
#D0CECB
text
#11100D
muted
#807F7E

Preview Lab

Preview with #978D6B

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

Preview Lab → · Contrast checker → · Palette generator →

#978D6B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva