#8A9879#8A9879

#8A9879 is a light, muted yellow-green. Relative luminance 0.292; OKLCH L 66.0% C 0.047 H 127.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A9879
RGBrgb(138, 152, 121)
HSLhsl(87, 13%, 54%)
HSVhsv(87, 20%, 60%)
CMYKcmyk(9.2%, 0%, 20.4%, 40.4%)
CIE-LABlab(60.99, -10.82, 14.67)
CIE-LCHlch(60.99, 18.23, 126.42°)
OKLaboklab(65.98% -0.0288 0.0376)
OKLCHoklch(65.98% 0.047 127.4)
XYZxyz(25.1601, 29.2401, 22.4038)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9879 #877998
analogous
#989679 #8A9879 #7A9879
triadic
#8A9879 #798A98 #98798A
tetradic
#8A9879 #799896 #877998 #98797A
square
#8A9879 #799896 #877998 #98797A
split-complementary
#8A9879 #797A98 #967998
monochromatic
#4C5541 #6B785C #8A9879 #A8B39C #C6CDBE

Accessibility & contrast

On white

3.07
#8A9879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#8A9879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9879
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9879#FFFFFF#000000##000000
##8A98791.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9477
Deuteranopia (green-blind)
#99937A
Tritanopia (blue-blind)
#8C958F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9879;
/* rgb */ color: rgb(138, 152, 121);
/* oklch */ color: oklch(66.0% 0.047 127.4);
Tailwind
colors: {
  custom: {
    50: '#acb69f',
    500: '#8a9879',
    950: '#000000',
  },
}
SCSS
$custom: #8a9879;
$custom-light: #acb69f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9879",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 121
  },
  "hsl": {
    "h": 87.097,
    "s": 13.08,
    "l": 53.529
  },
  "oklch": {
    "l": 0.65984,
    "c": 0.04732,
    "h": 127.4
  },
  "luminance": 0.2924
}

Semantic roles & 50–950 ramp

primary
#8A9879
secondary
#B6B0BD
accent
#72B691
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8A9879

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

Preview Lab → · Contrast checker → · Palette generator →

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