#8A987D#8A987D

#8A987D is a light, muted yellow-green. Relative luminance 0.293; OKLCH L 66.1% C 0.042 H 129.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A987D
RGBrgb(138, 152, 125)
HSLhsl(91, 12%, 54%)
HSVhsv(91, 18%, 60%)
CMYKcmyk(9.2%, 0%, 17.8%, 40.4%)
CIE-LABlab(61.08, -10.14, 12.55)
CIE-LCHlch(61.08, 16.14, 128.94°)
OKLaboklab(66.08% -0.027 0.0323)
OKLCHoklch(66.08% 0.042 129.9)
XYZxyz(25.4105, 29.3403, 23.7226)
Luminance0.2934 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A987D #8B7D98
analogous
#98987D #8A987D #7D987E
triadic
#8A987D #7D8A98 #987D8A
tetradic
#8A987D #7D9898 #8B7D98 #987E7D
square
#8A987D #7D9898 #8B7D98 #987E7D
split-complementary
#8A987D #7E7D98 #987D98
monochromatic
#4D5644 #6B785F #8A987D #A9B39F #C7CEC1

Accessibility & contrast

On white

3.06
#8A987D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8A987D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A987D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A987D#FFFFFF#000000##000000
##8A987D1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B947B
Deuteranopia (green-blind)
#99937E
Tritanopia (blue-blind)
#8B9590
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a987d;
/* rgb */ color: rgb(138, 152, 125);
/* oklch */ color: oklch(66.1% 0.042 129.9);
Tailwind
colors: {
  custom: {
    50: '#acb6a2',
    500: '#8a987d',
    950: '#000000',
  },
}
SCSS
$custom: #8a987d;
$custom-light: #acb6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a987d",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 91.111,
    "s": 11.588,
    "l": 54.314
  },
  "oklch": {
    "l": 0.66083,
    "c": 0.0421,
    "h": 129.9
  },
  "luminance": 0.2934
}

Semantic roles & 50–950 ramp

primary
#8A987D
secondary
#B9B3BE
accent
#73B495
background
#FAFBFA
surface
#F4F6F3
border
#CED0CD
text
#10110F
muted
#7F807F

Preview Lab

Preview with #8A987D

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

Preview Lab → · Contrast checker → · Palette generator →

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