#978D6D#978D6D

#978D6D is a light, muted yellow. Relative luminance 0.267; OKLCH L 64.4% C 0.047 H 92.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#978D6D
RGBrgb(151, 141, 109)
HSLhsl(46, 17%, 51%)
HSVhsv(46, 28%, 59%)
CMYKcmyk(0%, 6.6%, 27.8%, 40.8%)
CIE-LABlab(58.73, -1.54, 18.46)
CIE-LCHlch(58.73, 18.52, 94.76°)
OKLaboklab(64.37% -0.0023 0.0467)
OKLCHoklch(64.37% 0.047 92.8)
XYZxyz(25.0478, 26.7338, 18.3057)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D6D #6D7797
analogous
#97786D #978D6D #8C976D
triadic
#978D6D #6D978D #8D6D97
tetradic
#978D6D #6D9778 #6D7797 #976D8C
square
#978D6D #6D9778 #6D7797 #976D8C
split-complementary
#978D6D #6D8C97 #786D97
monochromatic
#504B39 #746C53 #978D6D #B0A991 #CAC5B4

Accessibility & contrast

On white

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

On black

6.35
#978D6D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D6D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D6D#FFFFFF#000000##000000
##978D6D1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978d6d;
/* rgb */ color: rgb(151, 141, 109);
/* oklch */ color: oklch(64.4% 0.047 92.8);
Tailwind
colors: {
  custom: {
    50: '#b6ae97',
    500: '#978d6d',
    950: '#000000',
  },
}
SCSS
$custom: #978d6d;
$custom-light: #b6ae97;
$custom-dark: #000000;
JSON
{
  "hex": "#978d6d",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 109
  },
  "hsl": {
    "h": 45.714,
    "s": 16.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.64369,
    "c": 0.04678,
    "h": 92.8
  },
  "luminance": 0.26733
}

Semantic roles & 50–950 ramp

primary
#978D6D
secondary
#A7ABB9
accent
#80BA6E
background
#FBFAF9
surface
#F6F4F2
border
#D0CECC
text
#11100D
muted
#807F7E

Preview Lab

Preview with #978D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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