#8A9877#8A9877

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

Color values

HEX#8A9877
RGBrgb(138, 152, 119)
HSLhsl(85, 14%, 53%)
HSVhsv(85, 22%, 60%)
CMYKcmyk(9.2%, 0%, 21.7%, 40.4%)
CIE-LABlab(60.95, -11.16, 15.73)
CIE-LCHlch(60.95, 19.29, 125.34°)
OKLaboklab(65.94% -0.0297 0.0402)
OKLCHoklch(65.94% 0.05 126.4)
XYZxyz(25.0388, 29.1915, 21.7646)
Luminance0.2919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9877 #857798
analogous
#989677 #8A9877 #799877
triadic
#8A9877 #778A98 #98778A
tetradic
#8A9877 #779896 #857798 #987779
square
#8A9877 #779896 #857798 #987779
split-complementary
#8A9877 #777998 #967798
monochromatic
#4C5540 #6B775A #8A9877 #A8B29A #C6CDBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9877#FFFFFF#000000##000000
##8A98771.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)
#9C9475
Deuteranopia (green-blind)
#9A9378
Tritanopia (blue-blind)
#8C958F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9877;
/* rgb */ color: rgb(138, 152, 119);
/* oklch */ color: oklch(65.9% 0.050 126.4);
Tailwind
colors: {
  custom: {
    50: '#acb69e',
    500: '#8a9877',
    950: '#000000',
  },
}
SCSS
$custom: #8a9877;
$custom-light: #acb69e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9877",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 119
  },
  "hsl": {
    "h": 85.455,
    "s": 13.808,
    "l": 53.137
  },
  "oklch": {
    "l": 0.65936,
    "c": 0.04994,
    "h": 126.4
  },
  "luminance": 0.29192
}

Semantic roles & 50–950 ramp

primary
#8A9877
secondary
#B4AEBD
accent
#71B78F
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8A9877

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

Preview Lab → · Contrast checker → · Palette generator →

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