#8A987B#8A987B

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

Color values

HEX#8A987B
RGBrgb(138, 152, 123)
HSLhsl(89, 12%, 54%)
HSVhsv(89, 19%, 60%)
CMYKcmyk(9.2%, 0%, 19.1%, 40.4%)
CIE-LABlab(61.04, -10.49, 13.61)
CIE-LCHlch(61.04, 17.18, 127.61°)
OKLaboklab(66.03% -0.0279 0.035)
OKLCHoklch(66.03% 0.045 128.6)
XYZxyz(25.2841, 29.2897, 23.0565)
Luminance0.2929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A987B #897B98
analogous
#98987B #8A987B #7C987B
triadic
#8A987B #7B8A98 #987B8A
tetradic
#8A987B #7B9898 #897B98 #987B7C
square
#8A987B #7B9898 #897B98 #987B7C
split-complementary
#8A987B #7B7C98 #987B98
monochromatic
#4D5643 #6B785E #8A987B #A8B39D #C7CEC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A987B#FFFFFF#000000##000000
##8A987B1.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)
#9B9479
Deuteranopia (green-blind)
#99937C
Tritanopia (blue-blind)
#8B9590
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a987b;
/* rgb */ color: rgb(138, 152, 123);
/* oklch */ color: oklch(66.0% 0.045 128.6);
Tailwind
colors: {
  custom: {
    50: '#acb6a1',
    500: '#8a987b',
    950: '#000000',
  },
}
SCSS
$custom: #8a987b;
$custom-light: #acb6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a987b",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 123
  },
  "hsl": {
    "h": 88.966,
    "s": 12.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.04471,
    "h": 128.6
  },
  "luminance": 0.2929
}

Semantic roles & 50–950 ramp

primary
#8A987B
secondary
#B7B1BE
accent
#73B593
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110F
muted
#7F807E

Preview Lab

Preview with #8A987B

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

Preview Lab → · Contrast checker → · Palette generator →

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