#8A9878#8A9878

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

Color values

HEX#8A9878
RGBrgb(138, 152, 120)
HSLhsl(86, 13%, 53%)
HSVhsv(86, 21%, 60%)
CMYKcmyk(9.2%, 0%, 21.1%, 40.4%)
CIE-LABlab(60.97, -10.99, 15.20)
CIE-LCHlch(60.97, 18.76, 125.87°)
OKLaboklab(65.96% -0.0292 0.0389)
OKLCHoklch(65.96% 0.049 126.9)
XYZxyz(25.0991, 29.2157, 22.0826)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9878 #867898
analogous
#989678 #8A9878 #7A9878
triadic
#8A9878 #788A98 #98788A
tetradic
#8A9878 #789896 #867898 #98787A
square
#8A9878 #789896 #867898 #98787A
split-complementary
#8A9878 #787A98 #967898
monochromatic
#4C5541 #6B785B #8A9878 #A8B29B #C6CDBD

Accessibility & contrast

On white

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

On black

6.84
#8A9878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9878
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9878#FFFFFF#000000##000000
##8A98781.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9476
Deuteranopia (green-blind)
#999379
Tritanopia (blue-blind)
#8C958F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9878;
/* rgb */ color: rgb(138, 152, 120);
/* oklch */ color: oklch(66.0% 0.049 126.9);
Tailwind
colors: {
  custom: {
    50: '#acb69f',
    500: '#8a9878',
    950: '#000000',
  },
}
SCSS
$custom: #8a9878;
$custom-light: #acb69f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9878",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 120
  },
  "hsl": {
    "h": 86.25,
    "s": 13.445,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6596,
    "c": 0.04864,
    "h": 126.9
  },
  "luminance": 0.29216
}

Semantic roles & 50–950 ramp

primary
#8A9878
secondary
#B5AFBD
accent
#72B690
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8A9878

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

Preview Lab → · Contrast checker → · Palette generator →

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