#98997D#98997D

#98997D is a light, muted yellow. Relative luminance 0.309; OKLCH L 67.4% C 0.040 H 109.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#98997D
RGBrgb(152, 153, 125)
HSLhsl(62, 12%, 55%)
HSVhsv(62, 18%, 60%)
CMYKcmyk(0.7%, 0%, 18.3%, 40%)
CIE-LABlab(62.46, -5.32, 14.64)
CIE-LCHlch(62.46, 15.57, 109.96°)
OKLaboklab(67.44% -0.013 0.0375)
OKLCHoklch(67.44% 0.04 109.1)
XYZxyz(28.0415, 30.9388, 23.8926)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98997D #7E7D99
analogous
#998C7D #98997D #8A997D
triadic
#98997D #7D9899 #997D98
tetradic
#98997D #7D998C #7E7D99 #997D8A
square
#98997D #7D998C #7E7D99 #997D8A
split-complementary
#98997D #7D8A99 #8C7D99
monochromatic
#575744 #79795F #98997D #B3B49F #CECFC2

Accessibility & contrast

On white

2.92
#98997D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#98997D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98997D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98997D#FFFFFF#000000##000000
##98997D1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E967B
Deuteranopia (green-blind)
#9E987E
Tritanopia (blue-blind)
#9C9591
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #98997d;
/* rgb */ color: rgb(152, 153, 125);
/* oklch */ color: oklch(67.4% 0.040 109.1);
Tailwind
colors: {
  custom: {
    50: '#b6b7a2',
    500: '#98997d',
    950: '#000000',
  },
}
SCSS
$custom: #98997d;
$custom-light: #b6b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98997d",
  "rgb": {
    "r": 152,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 62.143,
    "s": 12.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.67445,
    "c": 0.03972,
    "h": 109.1
  },
  "luminance": 0.30939
}

Semantic roles & 50–950 ramp

primary
#98997D
secondary
#B3B3BF
accent
#73B575
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #98997D

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

Preview Lab → · Contrast checker → · Palette generator →

#98997D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva