#978E6F#978E6F

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

Color values

HEX#978E6F
RGBrgb(151, 142, 111)
HSLhsl(47, 16%, 51%)
HSVhsv(47, 26%, 59%)
CMYKcmyk(0%, 6%, 26.5%, 40.8%)
CIE-LABlab(59.04, -1.80, 17.76)
CIE-LCHlch(59.04, 17.85, 95.80°)
OKLaboklab(64.63% -0.003 0.0451)
OKLCHoklch(64.63% 0.045 93.8)
XYZxyz(25.3048, 27.0736, 18.9286)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E6F #6F7897
analogous
#977A6F #978E6F #8C976F
triadic
#978E6F #6F978E #8E6F97
tetradic
#978E6F #6F977A #6F7897 #976F8C
square
#978E6F #6F977A #6F7897 #976F8C
split-complementary
#978E6F #6F8C97 #7A6F97
monochromatic
#514C3B #756D54 #978E6F #B1AA93 #CAC6B6

Accessibility & contrast

On white

3.27
#978E6F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##978E6F#FFFFFF#000000##000000
##978E6F1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958C6D
Deuteranopia (green-blind)
#978F70
Tritanopia (blue-blind)
#9D8986
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #978e6f;
/* rgb */ color: rgb(151, 142, 111);
/* oklch */ color: oklch(64.6% 0.045 93.8);
Tailwind
colors: {
  custom: {
    50: '#b6af98',
    500: '#978e6f',
    950: '#000000',
  },
}
SCSS
$custom: #978e6f;
$custom-light: #b6af98;
$custom-dark: #000000;
JSON
{
  "hex": "#978e6f",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 111
  },
  "hsl": {
    "h": 46.5,
    "s": 16.129,
    "l": 51.373
  },
  "oklch": {
    "l": 0.64631,
    "c": 0.04518,
    "h": 93.8
  },
  "luminance": 0.27073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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