#989871#989871

#989871 is a light, muted yellow. Relative luminance 0.303; OKLCH L 67.0% C 0.055 H 107.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#989871
RGBrgb(152, 152, 113)
HSLhsl(60, 16%, 52%)
HSVhsv(60, 26%, 60%)
CMYKcmyk(0%, 0%, 25.7%, 40.4%)
CIE-LABlab(61.93, -6.60, 20.60)
CIE-LCHlch(61.93, 21.63, 107.76°)
OKLaboklab(66.95% -0.0167 0.052)
OKLCHoklch(66.95% 0.055 107.8)
XYZxyz(27.1578, 30.3245, 20.0421)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989871 #717198
analogous
#988571 #989871 #859871
triadic
#989871 #719898 #987198
tetradic
#989871 #719885 #717198 #987185
square
#989871 #719885 #717198 #987185
split-complementary
#989871 #718598 #857198
monochromatic
#53533C #767656 #989871 #B2B294 #CBCBB8

Accessibility & contrast

On white

2.97
#989871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#989871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989871
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989871#FFFFFF#000000##000000
##9898711.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F956E
Deuteranopia (green-blind)
#9F9672
Tritanopia (blue-blind)
#9E938E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989871;
/* rgb */ color: rgb(152, 152, 113);
/* oklch */ color: oklch(67.0% 0.055 107.8);
Tailwind
colors: {
  custom: {
    50: '#b6b69a',
    500: '#989871',
    950: '#000000',
  },
}
SCSS
$custom: #989871;
$custom-light: #b6b69a;
$custom-dark: #000000;
JSON
{
  "hex": "#989871",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 15.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6695,
    "c": 0.05458,
    "h": 107.8
  },
  "luminance": 0.30324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #989871

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

Preview Lab → · Contrast checker → · Palette generator →

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