#8D9871#8D9871

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

Color values

HEX#8D9871
RGBrgb(141, 152, 113)
HSLhsl(77, 16%, 52%)
HSVhsv(77, 26%, 60%)
CMYKcmyk(7.2%, 0%, 25.7%, 40.4%)
CIE-LABlab(61.06, -10.95, 19.26)
CIE-LCHlch(61.06, 22.16, 119.63°)
OKLaboklab(66.04% -0.029 0.0488)
OKLCHoklch(66.04% 0.057 120.8)
XYZxyz(25.1931, 29.3115, 19.9500)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9871 #7C7198
analogous
#989071 #8D9871 #7A9871
triadic
#8D9871 #718D98 #98718D
tetradic
#8D9871 #719890 #7C7198 #98717A
square
#8D9871 #719890 #7C7198 #98717A
split-complementary
#8D9871 #717A98 #907198
monochromatic
#4C533C #6D7656 #8D9871 #A9B294 #C6CBB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9871#FFFFFF#000000##000000
##8D98711.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)
#9D936F
Deuteranopia (green-blind)
#9C9373
Tritanopia (blue-blind)
#90948E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9871;
/* rgb */ color: rgb(141, 152, 113);
/* oklch */ color: oklch(66.0% 0.057 120.8);
Tailwind
colors: {
  custom: {
    50: '#aeb69a',
    500: '#8d9871',
    950: '#000000',
  },
}
SCSS
$custom: #8d9871;
$custom-light: #aeb69a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9871",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 76.923,
    "s": 15.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.66037,
    "c": 0.05673,
    "h": 120.8
  },
  "luminance": 0.29311
}

Semantic roles & 50–950 ramp

primary
#8D9871
secondary
#AFAABB
accent
#6FB984
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8D9871

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

Preview Lab → · Contrast checker → · Palette generator →

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