#978E6E#978E6E

#978E6E is a light, muted yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.046 H 94.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#978E6E
RGBrgb(151, 142, 110)
HSLhsl(47, 16%, 51%)
HSVhsv(47, 27%, 59%)
CMYKcmyk(0%, 6%, 27.2%, 40.8%)
CIE-LABlab(59.02, -1.95, 18.30)
CIE-LCHlch(59.02, 18.40, 96.08°)
OKLaboklab(64.61% -0.0034 0.0464)
OKLCHoklch(64.61% 0.046 94.2)
XYZxyz(25.2501, 27.0517, 18.6402)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E6E #6E7797
analogous
#97796E #978E6E #8B976E
triadic
#978E6E #6E978E #8E6E97
tetradic
#978E6E #6E9779 #6E7797 #976E8B
square
#978E6E #6E9779 #6E7797 #976E8B
split-complementary
#978E6E #6E8B97 #796E97
monochromatic
#514C3A #746D53 #978E6E #B1AA92 #CAC6B5

Accessibility & contrast

On white

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

On black

6.41
#978E6E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E6E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E6E#FFFFFF#000000##000000
##978E6E1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958C6C
Deuteranopia (green-blind)
#978F6F
Tritanopia (blue-blind)
#9E8985
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #978e6e;
/* rgb */ color: rgb(151, 142, 110);
/* oklch */ color: oklch(64.6% 0.046 94.2);
Tailwind
colors: {
  custom: {
    50: '#b6af97',
    500: '#978e6e',
    950: '#000000',
  },
}
SCSS
$custom: #978e6e;
$custom-light: #b6af97;
$custom-dark: #000000;
JSON
{
  "hex": "#978e6e",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 110
  },
  "hsl": {
    "h": 46.829,
    "s": 16.466,
    "l": 51.176
  },
  "oklch": {
    "l": 0.64609,
    "c": 0.04649,
    "h": 94.2
  },
  "luminance": 0.27051
}

Semantic roles & 50–950 ramp

primary
#978E6E
secondary
#A7ABB9
accent
#7FB96F
background
#FBFAF9
surface
#F6F4F2
border
#D0CECC
text
#11100D
muted
#807F7E

Preview Lab

Preview with #978E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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