#8A997D#8A997D

#8A997D is a light, muted yellow-green. Relative luminance 0.297; OKLCH L 66.3% C 0.044 H 130.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A997D
RGBrgb(138, 153, 125)
HSLhsl(92, 12%, 55%)
HSVhsv(92, 18%, 60%)
CMYKcmyk(9.8%, 0%, 18.3%, 40%)
CIE-LABlab(61.37, -10.68, 12.95)
CIE-LCHlch(61.37, 16.79, 129.51°)
OKLaboklab(66.31% -0.0285 0.0333)
OKLCHoklch(66.31% 0.044 130.6)
XYZxyz(25.5735, 29.6662, 23.7769)
Luminance0.2967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A997D #8C7D99
analogous
#98997D #8A997D #7D997E
triadic
#8A997D #7D8A99 #997D8A
tetradic
#8A997D #7D9899 #8C7D99 #997E7D
square
#8A997D #7D9899 #8C7D99 #997E7D
split-complementary
#8A997D #7E7D99 #997D98
monochromatic
#4D5744 #6B795F #8A997D #A9B49F #C8CFC2

Accessibility & contrast

On white

3.03
#8A997D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8A997D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A997D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A997D#FFFFFF#000000##000000
##8A997D1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C957B
Deuteranopia (green-blind)
#99947E
Tritanopia (blue-blind)
#8B9691
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a997d;
/* rgb */ color: rgb(138, 153, 125);
/* oklch */ color: oklch(66.3% 0.044 130.6);
Tailwind
colors: {
  custom: {
    50: '#acb7a2',
    500: '#8a997d',
    950: '#000000',
  },
}
SCSS
$custom: #8a997d;
$custom-light: #acb7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a997d",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 92.143,
    "s": 12.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.04383,
    "h": 130.6
  },
  "luminance": 0.29666
}

Semantic roles & 50–950 ramp

primary
#8A997D
secondary
#B9B3BF
accent
#73B596
background
#FAFBFA
surface
#F4F6F3
border
#CED0CD
text
#10110F
muted
#7F807F

Preview Lab

Preview with #8A997D

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

Preview Lab → · Contrast checker → · Palette generator →

#8A997D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva