#8A987F#8A987F

#8A987F is a light, muted yellow-green. Relative luminance 0.294; OKLCH L 66.1% C 0.040 H 131.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A987F
RGBrgb(138, 152, 127)
HSLhsl(94, 11%, 55%)
HSVhsv(94, 16%, 60%)
CMYKcmyk(9.2%, 0%, 16.4%, 40.4%)
CIE-LABlab(61.13, -9.79, 11.49)
CIE-LCHlch(61.13, 15.10, 130.43°)
OKLaboklab(66.13% -0.0261 0.0296)
OKLCHoklch(66.13% 0.04 131.4)
XYZxyz(25.5396, 29.3919, 24.4022)
Luminance0.2939 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A987F #8D7F98
analogous
#97987F #8A987F #7F9880
triadic
#8A987F #7F8A98 #987F8A
tetradic
#8A987F #7F9798 #8D7F98 #98807F
square
#8A987F #7F9798 #8D7F98 #98807F
split-complementary
#8A987F #807F98 #987F97
monochromatic
#4D5746 #6B7961 #8A987F #A9B3A1 #C8CFC3

Accessibility & contrast

On white

3.05
#8A987F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8A987F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A987F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A987F#FFFFFF#000000##000000
##8A987F1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B947E
Deuteranopia (green-blind)
#989380
Tritanopia (blue-blind)
#8B9691
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a987f;
/* rgb */ color: rgb(138, 152, 127);
/* oklch */ color: oklch(66.1% 0.040 131.4);
Tailwind
colors: {
  custom: {
    50: '#acb6a4',
    500: '#8a987f',
    950: '#000000',
  },
}
SCSS
$custom: #8a987f;
$custom-light: #acb6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a987f",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 93.6,
    "s": 10.823,
    "l": 54.706
  },
  "oklch": {
    "l": 0.66134,
    "c": 0.03951,
    "h": 131.4
  },
  "luminance": 0.29392
}

Semantic roles & 50–950 ramp

primary
#8A987F
secondary
#BAB4BF
accent
#74B498
background
#FAFBFA
surface
#F4F6F4
border
#CED0CE
text
#10110F
muted
#7F807F

Preview Lab

Preview with #8A987F

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

Preview Lab → · Contrast checker → · Palette generator →

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