#98987A#98987A

#98987A is a light, muted yellow. Relative luminance 0.305; OKLCH L 67.2% C 0.042 H 107.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#98987A
RGBrgb(152, 152, 122)
HSLhsl(60, 13%, 54%)
HSVhsv(60, 20%, 60%)
CMYKcmyk(0%, 0%, 19.7%, 40.4%)
CIE-LABlab(62.12, -5.24, 15.84)
CIE-LCHlch(62.12, 16.68, 108.32°)
OKLaboklab(67.15% -0.0128 0.0405)
OKLCHoklch(67.15% 0.042 107.5)
XYZxyz(27.6898, 30.5373, 22.8442)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98987A #7A7A98
analogous
#98897A #98987A #89987A
triadic
#98987A #7A9898 #987A98
tetradic
#98987A #7A9889 #7A7A98 #987A89
square
#98987A #7A9889 #7A7A98 #987A89
split-complementary
#98987A #7A8998 #897A98
monochromatic
#555542 #78785D #98987A #B3B39C #CDCDBF

Accessibility & contrast

On white

2.95
#98987A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#98987A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98987A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98987A#FFFFFF#000000##000000
##98987A1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9578
Deuteranopia (green-blind)
#9E977B
Tritanopia (blue-blind)
#9D9490
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #98987a;
/* rgb */ color: rgb(152, 152, 122);
/* oklch */ color: oklch(67.2% 0.042 107.5);
Tailwind
colors: {
  custom: {
    50: '#b6b6a0',
    500: '#98987a',
    950: '#000000',
  },
}
SCSS
$custom: #98987a;
$custom-light: #b6b6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#98987a",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 12.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.67154,
    "c": 0.04244,
    "h": 107.5
  },
  "luminance": 0.30537
}

Semantic roles & 50–950 ramp

primary
#98987A
secondary
#B0B0BD
accent
#72B672
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #98987A

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

Preview Lab → · Contrast checker → · Palette generator →

#98987A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva