#8D9878#8D9878

#8D9878 is a light, muted yellow-green. Relative luminance 0.295; OKLCH L 66.2% C 0.047 H 123.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D9878
RGBrgb(141, 152, 120)
HSLhsl(81, 13%, 53%)
HSVhsv(81, 21%, 60%)
CMYKcmyk(7.2%, 0%, 21.1%, 40.4%)
CIE-LABlab(61.20, -9.84, 15.55)
CIE-LCHlch(61.20, 18.41, 122.32°)
OKLaboklab(66.2% -0.0259 0.0398)
OKLCHoklch(66.2% 0.047 123.1)
XYZxyz(25.6025, 29.4752, 22.1061)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9878 #837898
analogous
#989378 #8D9878 #7D9878
triadic
#8D9878 #788D98 #98788D
tetradic
#8D9878 #789893 #837898 #98787D
square
#8D9878 #789893 #837898 #98787D
split-complementary
#8D9878 #787D98 #937898
monochromatic
#4E5541 #6E785B #8D9878 #AAB29B #C8CDBD

Accessibility & contrast

On white

3.05
#8D9878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#8D9878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9878
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9878#FFFFFF#000000##000000
##8D98781.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9476
Deuteranopia (green-blind)
#9A9479
Tritanopia (blue-blind)
#8F958F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9878;
/* rgb */ color: rgb(141, 152, 120);
/* oklch */ color: oklch(66.2% 0.047 123.1);
Tailwind
colors: {
  custom: {
    50: '#aeb69f',
    500: '#8d9878',
    950: '#000000',
  },
}
SCSS
$custom: #8d9878;
$custom-light: #aeb69f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9878",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 120
  },
  "hsl": {
    "h": 80.625,
    "s": 13.445,
    "l": 53.333
  },
  "oklch": {
    "l": 0.66198,
    "c": 0.04745,
    "h": 123.1
  },
  "luminance": 0.29475
}

Semantic roles & 50–950 ramp

primary
#8D9878
secondary
#B4AFBD
accent
#72B689
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8D9878

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

Preview Lab → · Contrast checker → · Palette generator →

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