#979871#979871

#979871 is a light, muted yellow. Relative luminance 0.302; OKLCH L 66.9% C 0.055 H 109.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#979871
RGBrgb(151, 152, 113)
HSLhsl(62, 16%, 52%)
HSVhsv(62, 26%, 60%)
CMYKcmyk(0.7%, 0%, 25.7%, 40.4%)
CIE-LABlab(61.85, -7.00, 20.47)
CIE-LCHlch(61.85, 21.64, 108.87°)
OKLaboklab(66.86% -0.0178 0.0517)
OKLCHoklch(66.86% 0.055 109)
XYZxyz(26.9713, 30.2284, 20.0334)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979871 #727198
analogous
#988671 #979871 #849871
triadic
#979871 #719798 #987197
tetradic
#979871 #719886 #727198 #987184
square
#979871 #719886 #727198 #987184
split-complementary
#979871 #718498 #867198
monochromatic
#52533C #757656 #979871 #B1B294 #CBCBB8

Accessibility & contrast

On white

2.98
#979871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#979871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979871
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979871#FFFFFF#000000##000000
##9798711.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E956E
Deuteranopia (green-blind)
#9F9672
Tritanopia (blue-blind)
#9D938E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979871;
/* rgb */ color: rgb(151, 152, 113);
/* oklch */ color: oklch(66.9% 0.055 109.0);
Tailwind
colors: {
  custom: {
    50: '#b6b69a',
    500: '#979871',
    950: '#000000',
  },
}
SCSS
$custom: #979871;
$custom-light: #b6b69a;
$custom-dark: #000000;
JSON
{
  "hex": "#979871",
  "rgb": {
    "r": 151,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 61.538,
    "s": 15.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.66865,
    "c": 0.05465,
    "h": 109
  },
  "luminance": 0.30228
}

Semantic roles & 50–950 ramp

primary
#979871
secondary
#AAAABB
accent
#6FB971
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #979871

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

Preview Lab → · Contrast checker → · Palette generator →

#979871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva