#8A987C#8A987C

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

Color values

HEX#8A987C
RGBrgb(138, 152, 124)
HSLhsl(90, 12%, 54%)
HSVhsv(90, 18%, 60%)
CMYKcmyk(9.2%, 0%, 18.4%, 40.4%)
CIE-LABlab(61.06, -10.31, 13.08)
CIE-LCHlch(61.06, 16.66, 128.25°)
OKLaboklab(66.06% -0.0274 0.0336)
OKLCHoklch(66.06% 0.043 129.2)
XYZxyz(25.3470, 29.3148, 23.3878)
Luminance0.2932 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A987C #8A7C98
analogous
#98987C #8A987C #7C987C
triadic
#8A987C #7C8A98 #987C8A
tetradic
#8A987C #7C9898 #8A7C98 #987C7C
square
#8A987C #7C9898 #8A7C98 #987C7C
split-complementary
#8A987C #7C7C98 #987C98
monochromatic
#4D5644 #6B785F #8A987C #A9B39E #C7CEC1

Accessibility & contrast

On white

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

On black

6.86
#8A987C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A987C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A987C#FFFFFF#000000##000000
##8A987C1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a987c;
/* rgb */ color: rgb(138, 152, 124);
/* oklch */ color: oklch(66.1% 0.043 129.2);
Tailwind
colors: {
  custom: {
    50: '#acb6a2',
    500: '#8a987c',
    950: '#000000',
  },
}
SCSS
$custom: #8a987c;
$custom-light: #acb6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a987c",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 90,
    "s": 11.966,
    "l": 54.118
  },
  "oklch": {
    "l": 0.66058,
    "c": 0.0434,
    "h": 129.2
  },
  "luminance": 0.29315
}

Semantic roles & 50–950 ramp

primary
#8A987C
secondary
#B8B2BE
accent
#73B594
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110F
muted
#7F807E

Preview Lab

Preview with #8A987C

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

Preview Lab → · Contrast checker → · Palette generator →

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