#8A987E#8A987E

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

Color values

HEX#8A987E
RGBrgb(138, 152, 126)
HSLhsl(92, 11%, 55%)
HSVhsv(92, 17%, 60%)
CMYKcmyk(9.2%, 0%, 17.1%, 40.4%)
CIE-LABlab(61.10, -9.97, 12.02)
CIE-LCHlch(61.10, 15.62, 129.66°)
OKLaboklab(66.11% -0.0266 0.031)
OKLCHoklch(66.11% 0.041 130.6)
XYZxyz(25.4747, 29.3659, 24.0607)
Luminance0.2937 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A987E #8C7E98
analogous
#97987E #8A987E #7E987F
triadic
#8A987E #7E8A98 #987E8A
tetradic
#8A987E #7E9798 #8C7E98 #987F7E
square
#8A987E #7E9798 #8C7E98 #987F7E
split-complementary
#8A987E #7F7E98 #987E97
monochromatic
#4D5745 #6B7960 #8A987E #A9B3A0 #C8CEC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A987E#FFFFFF#000000##000000
##8A987E1.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)
#9B947D
Deuteranopia (green-blind)
#98937F
Tritanopia (blue-blind)
#8B9691
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a987e;
/* rgb */ color: rgb(138, 152, 126);
/* oklch */ color: oklch(66.1% 0.041 130.6);
Tailwind
colors: {
  custom: {
    50: '#acb6a3',
    500: '#8a987e',
    950: '#000000',
  },
}
SCSS
$custom: #8a987e;
$custom-light: #acb6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a987e",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 92.308,
    "s": 11.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.66108,
    "c": 0.0408,
    "h": 130.6
  },
  "luminance": 0.29366
}

Semantic roles & 50–950 ramp

primary
#8A987E
secondary
#B9B3BE
accent
#74B496
background
#FAFBFA
surface
#F4F6F3
border
#CED0CD
text
#10110F
muted
#7F807F

Preview Lab

Preview with #8A987E

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

Preview Lab → · Contrast checker → · Palette generator →

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