#8A997F#8A997F

#8A997F is a light, muted yellow-green. Relative luminance 0.297; OKLCH L 66.4% C 0.041 H 132.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A997F
RGBrgb(138, 153, 127)
HSLhsl(95, 11%, 55%)
HSVhsv(95, 17%, 60%)
CMYKcmyk(9.8%, 0%, 17%, 40%)
CIE-LABlab(61.41, -10.33, 11.89)
CIE-LCHlch(61.41, 15.75, 130.98°)
OKLaboklab(66.36% -0.0276 0.0307)
OKLCHoklch(66.36% 0.041 132)
XYZxyz(25.7026, 29.7178, 24.4566)
Luminance0.2972 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A997F #8E7F99
analogous
#97997F #8A997F #7F9981
triadic
#8A997F #7F8A99 #997F8A
tetradic
#8A997F #7F9799 #8E7F99 #99817F
square
#8A997F #7F9799 #8E7F99 #99817F
split-complementary
#8A997F #817F99 #997F97
monochromatic
#4D5846 #6B7A61 #8A997F #A9B4A1 #C8CFC3

Accessibility & contrast

On white

3.02
#8A997F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8A997F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A997F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A997F#FFFFFF#000000##000000
##8A997F1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C957E
Deuteranopia (green-blind)
#999480
Tritanopia (blue-blind)
#8B9792
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a997f;
/* rgb */ color: rgb(138, 153, 127);
/* oklch */ color: oklch(66.4% 0.041 132.0);
Tailwind
colors: {
  custom: {
    50: '#acb7a4',
    500: '#8a997f',
    950: '#000000',
  },
}
SCSS
$custom: #8a997f;
$custom-light: #acb7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a997f",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 94.615,
    "s": 11.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.66359,
    "c": 0.04125,
    "h": 132
  },
  "luminance": 0.29718
}

Semantic roles & 50–950 ramp

primary
#8A997F
secondary
#BBB4BF
accent
#74B499
background
#FAFBFA
surface
#F4F6F4
border
#CED0CE
text
#10110F
muted
#7F807F

Preview Lab

Preview with #8A997F

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

Preview Lab → · Contrast checker → · Palette generator →

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