#8D987B#8D987B

#8D987B is a light, muted yellow-green. Relative luminance 0.295; OKLCH L 66.3% C 0.043 H 124.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8D987B
RGBrgb(141, 152, 123)
HSLhsl(83, 12%, 54%)
HSVhsv(83, 19%, 60%)
CMYKcmyk(7.2%, 0%, 19.1%, 40.4%)
CIE-LABlab(61.26, -9.34, 13.96)
CIE-LCHlch(61.26, 16.80, 123.79°)
OKLaboklab(66.27% -0.0246 0.0358)
OKLCHoklch(66.27% 0.043 124.5)
XYZxyz(25.7874, 29.5492, 23.0801)
Luminance0.2955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D987B #867B98
analogous
#98957B #8D987B #7F987B
triadic
#8D987B #7B8D98 #987B8D
tetradic
#8D987B #7B9895 #867B98 #987B7F
square
#8D987B #7B9895 #867B98 #987B7F
split-complementary
#8D987B #7B7F98 #957B98
monochromatic
#4F5643 #6E785E #8D987B #ABB39D #C8CEC0

Accessibility & contrast

On white

3.04
#8D987B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8D987B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D987B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D987B#FFFFFF#000000##000000
##8D987B1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9479
Deuteranopia (green-blind)
#9A947C
Tritanopia (blue-blind)
#8F9590
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d987b;
/* rgb */ color: rgb(141, 152, 123);
/* oklch */ color: oklch(66.3% 0.043 124.5);
Tailwind
colors: {
  custom: {
    50: '#aeb6a1',
    500: '#8d987b',
    950: '#000000',
  },
}
SCSS
$custom: #8d987b;
$custom-light: #aeb6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d987b",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 123
  },
  "hsl": {
    "h": 82.759,
    "s": 12.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6627,
    "c": 0.04345,
    "h": 124.5
  },
  "luminance": 0.29549
}

Semantic roles & 50–950 ramp

primary
#8D987B
secondary
#B6B1BE
accent
#73B58C
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110F
muted
#7F807E

Preview Lab

Preview with #8D987B

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

Preview Lab → · Contrast checker → · Palette generator →

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