#978E6A#978E6A

#978E6A is a light, muted yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.052 H 95.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#978E6A
RGBrgb(151, 142, 106)
HSLhsl(48, 18%, 50%)
HSVhsv(48, 30%, 59%)
CMYKcmyk(0%, 6%, 29.8%, 40.8%)
CIE-LABlab(58.94, -2.51, 20.43)
CIE-LCHlch(58.94, 20.59, 97.01°)
OKLaboklab(64.52% -0.0052 0.0515)
OKLCHoklch(64.52% 0.052 95.7)
XYZxyz(25.0372, 26.9665, 17.5190)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E6A #6A7397
analogous
#97776A #978E6A #89976A
triadic
#978E6A #6A978E #8E6A97
tetradic
#978E6A #6A9777 #6A7397 #976A89
square
#978E6A #6A9777 #6A7397 #976A89
split-complementary
#978E6A #6A8997 #776A97
monochromatic
#4F4A37 #736C50 #978E6A #B0A98E #C9C5B2

Accessibility & contrast

On white

3.28
#978E6A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#978E6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E6A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E6A#FFFFFF#000000##000000
##978E6A1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958C68
Deuteranopia (green-blind)
#988F6B
Tritanopia (blue-blind)
#9E8984
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #978e6a;
/* rgb */ color: rgb(151, 142, 106);
/* oklch */ color: oklch(64.5% 0.052 95.7);
Tailwind
colors: {
  custom: {
    50: '#b6af95',
    500: '#978e6a',
    950: '#000000',
  },
}
SCSS
$custom: #978e6a;
$custom-light: #b6af95;
$custom-dark: #000000;
JSON
{
  "hex": "#978e6a",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 106
  },
  "hsl": {
    "h": 48,
    "s": 17.787,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6452,
    "c": 0.05171,
    "h": 95.7
  },
  "luminance": 0.26966
}

Semantic roles & 50–950 ramp

primary
#978E6A
secondary
#A4A8B8
accent
#7DBA6D
background
#FBFAF9
surface
#F6F4F1
border
#D0CECB
text
#11100D
muted
#807F7E

Preview Lab

Preview with #978E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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