#8A877F#8A877F

#8A877F is a light, near-neutral grey. Relative luminance 0.243; OKLCH L 62.4% C 0.012 H 89.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A877F
RGBrgb(138, 135, 127)
HSLhsl(44, 4%, 52%)
HSVhsv(44, 8%, 54%)
CMYKcmyk(0%, 2.2%, 8%, 45.9%)
CIE-LABlab(56.35, -0.39, 4.69)
CIE-LCHlch(56.35, 4.71, 94.75°)
OKLaboklab(62.36% 0.0001 0.0123)
OKLCHoklch(62.36% 0.012 89.8)
XYZxyz(22.9755, 24.2637, 23.5475)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A877F #7F828A
analogous
#8A827F #8A877F #888A7F
triadic
#8A877F #7F8A87 #877F8A
tetradic
#8A877F #7F8A82 #7F828A #8A7F88
square
#8A877F #7F8A82 #7F828A #8A7F88
split-complementary
#8A877F #7F888A #827F8A
monochromatic
#4B4944 #6A6861 #8A877F #A7A59F #C4C3BF

Accessibility & contrast

On white

3.59
#8A877F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A877F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A877F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A877F#FFFFFF#000000##000000
##8A877F1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89877F
Deuteranopia (green-blind)
#8A877F
Tritanopia (blue-blind)
#8C8685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a877f;
/* rgb */ color: rgb(138, 135, 127);
/* oklch */ color: oklch(62.4% 0.012 89.8);
Tailwind
colors: {
  custom: {
    50: '#aca9a4',
    500: '#8a877f',
    950: '#000000',
  },
}
SCSS
$custom: #8a877f;
$custom-light: #aca9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a877f",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 43.636,
    "s": 4.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62359,
    "c": 0.01232,
    "h": 89.8
  },
  "luminance": 0.24264
}

Semantic roles & 50–950 ramp

primary
#8A877F
secondary
#B0B1B5
accent
#88AE7A
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#10100F
muted
#7F7F7F

Preview Lab

Preview with #8A877F

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

Preview Lab → · Contrast checker → · Palette generator →

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