#978D6F#978D6F

#978D6F is a light, muted yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.044 H 91.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#978D6F
RGBrgb(151, 141, 111)
HSLhsl(45, 16%, 51%)
HSVhsv(45, 26%, 59%)
CMYKcmyk(0%, 6.6%, 26.5%, 40.8%)
CIE-LABlab(58.77, -1.25, 17.39)
CIE-LCHlch(58.77, 17.43, 94.10°)
OKLaboklab(64.42% -0.0014 0.0442)
OKLCHoklch(64.42% 0.044 91.8)
XYZxyz(25.1567, 26.7773, 18.8792)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D6F #6F7997
analogous
#97796F #978D6F #8D976F
triadic
#978D6F #6F978D #8D6F97
tetradic
#978D6F #6F9779 #6F7997 #976F8D
square
#978D6F #6F9779 #6F7997 #976F8D
split-complementary
#978D6F #6F8D97 #796F97
monochromatic
#514B3B #756C54 #978D6F #B1A993 #CAC5B6

Accessibility & contrast

On white

3.30
#978D6F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#978D6F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D6F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D6F#FFFFFF#000000##000000
##978D6F1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948C6D
Deuteranopia (green-blind)
#968F70
Tritanopia (blue-blind)
#9E8885
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978d6f;
/* rgb */ color: rgb(151, 141, 111);
/* oklch */ color: oklch(64.4% 0.044 91.8);
Tailwind
colors: {
  custom: {
    50: '#b6ae98',
    500: '#978d6f',
    950: '#000000',
  },
}
SCSS
$custom: #978d6f;
$custom-light: #b6ae98;
$custom-dark: #000000;
JSON
{
  "hex": "#978d6f",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 111
  },
  "hsl": {
    "h": 45,
    "s": 16.129,
    "l": 51.373
  },
  "oklch": {
    "l": 0.64415,
    "c": 0.04418,
    "h": 91.8
  },
  "luminance": 0.26777
}

Semantic roles & 50–950 ramp

primary
#978D6F
secondary
#A8ACBA
accent
#81B96F
background
#FBFAF9
surface
#F6F4F2
border
#D0CECC
text
#11100D
muted
#807F7E

Preview Lab

Preview with #978D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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