#978E71#978E71

#978E71 is a light, muted yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.043 H 92.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#978E71
RGBrgb(151, 142, 113)
HSLhsl(46, 15%, 52%)
HSVhsv(46, 25%, 59%)
CMYKcmyk(0%, 6%, 25.2%, 40.8%)
CIE-LABlab(59.08, -1.51, 16.69)
CIE-LCHlch(59.08, 16.76, 95.16°)
OKLaboklab(64.68% -0.0021 0.0425)
OKLCHoklch(64.68% 0.043 92.9)
XYZxyz(25.4162, 27.1181, 19.5150)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E71 #717A97
analogous
#977B71 #978E71 #8D9771
triadic
#978E71 #71978E #8E7197
tetradic
#978E71 #71977B #717A97 #97718D
square
#978E71 #71977B #717A97 #97718D
split-complementary
#978E71 #718D97 #7B7197
monochromatic
#524D3C #756E56 #978E71 #B1AA94 #CBC6B8

Accessibility & contrast

On white

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

On black

6.42
#978E71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E71
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E71#FFFFFF#000000##000000
##978E711.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948D6F
Deuteranopia (green-blind)
#978F72
Tritanopia (blue-blind)
#9D8986
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #978e71;
/* rgb */ color: rgb(151, 142, 113);
/* oklch */ color: oklch(64.7% 0.043 92.9);
Tailwind
colors: {
  custom: {
    50: '#b6af9a',
    500: '#978e71',
    950: '#000000',
  },
}
SCSS
$custom: #978e71;
$custom-light: #b6af9a;
$custom-dark: #000000;
JSON
{
  "hex": "#978e71",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 113
  },
  "hsl": {
    "h": 45.789,
    "s": 15.447,
    "l": 51.765
  },
  "oklch": {
    "l": 0.64677,
    "c": 0.04254,
    "h": 92.9
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

primary
#978E71
secondary
#AAAEBA
accent
#81B870
background
#FBFAF9
surface
#F6F4F2
border
#D0CECC
text
#11100E
muted
#807F7E

Preview Lab

Preview with #978E71

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

Preview Lab → · Contrast checker → · Palette generator →

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