#978C6B#978C6B

#978C6B is a light, muted yellow. Relative luminance 0.264; OKLCH L 64.1% C 0.048 H 91.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#978C6B
RGBrgb(151, 140, 107)
HSLhsl(45, 17%, 51%)
HSVhsv(45, 29%, 59%)
CMYKcmyk(0%, 7.3%, 29.1%, 40.8%)
CIE-LABlab(58.41, -1.26, 19.15)
CIE-LCHlch(58.41, 19.19, 93.78°)
OKLaboklab(64.11% -0.0015 0.0484)
OKLCHoklch(64.11% 0.048 91.8)
XYZxyz(24.7946, 26.3976, 17.6962)
Luminance0.2640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C6B #6B7697
analogous
#97766B #978C6B #8C976B
triadic
#978C6B #6B978C #8C6B97
tetradic
#978C6B #6B9776 #6B7697 #976B8C
square
#978C6B #6B9776 #6B7697 #976B8C
split-complementary
#978C6B #6B8C97 #766B97
monochromatic
#504A38 #746B51 #978C6B #B0A88F #CAC4B3

Accessibility & contrast

On white

3.34
#978C6B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#978C6B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C6B
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C6B#FFFFFF#000000##000000
##978C6B1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938B69
Deuteranopia (green-blind)
#968E6C
Tritanopia (blue-blind)
#9E8783
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978c6b;
/* rgb */ color: rgb(151, 140, 107);
/* oklch */ color: oklch(64.1% 0.048 91.8);
Tailwind
colors: {
  custom: {
    50: '#b6ad95',
    500: '#978c6b',
    950: '#000000',
  },
}
SCSS
$custom: #978c6b;
$custom-light: #b6ad95;
$custom-dark: #000000;
JSON
{
  "hex": "#978c6b",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 107
  },
  "hsl": {
    "h": 45,
    "s": 17.46,
    "l": 50.588
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.04841,
    "h": 91.8
  },
  "luminance": 0.26397
}

Semantic roles & 50–950 ramp

primary
#978C6B
secondary
#A5AAB9
accent
#81BA6E
background
#FBFAF9
surface
#F6F4F1
border
#D0CECB
text
#11100D
muted
#807F7E

Preview Lab

Preview with #978C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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