#8A887F#8A887F

#8A887F is a light, near-neutral grey. Relative luminance 0.245; OKLCH L 62.6% C 0.013 H 96.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A887F
RGBrgb(138, 136, 127)
HSLhsl(49, 4%, 52%)
HSVhsv(49, 8%, 54%)
CMYKcmyk(0%, 1.4%, 8%, 45.9%)
CIE-LABlab(56.63, -0.95, 5.09)
CIE-LCHlch(56.63, 5.18, 100.61°)
OKLaboklab(62.58% -0.0015 0.0134)
OKLCHoklch(62.58% 0.013 96.5)
XYZxyz(23.1157, 24.5440, 23.5943)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A887F #7F818A
analogous
#8A837F #8A887F #878A7F
triadic
#8A887F #7F8A88 #887F8A
tetradic
#8A887F #7F8A83 #7F818A #8A7F87
square
#8A887F #7F8A83 #7F818A #8A7F87
split-complementary
#8A887F #7F878A #837F8A
monochromatic
#4B4944 #6A6961 #8A887F #A7A69F #C4C3BF

Accessibility & contrast

On white

3.55
#8A887F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A887F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A887F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A887F#FFFFFF#000000##000000
##8A887F1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877F
Deuteranopia (green-blind)
#8B887F
Tritanopia (blue-blind)
#8C8785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a887f;
/* rgb */ color: rgb(138, 136, 127);
/* oklch */ color: oklch(62.6% 0.013 96.5);
Tailwind
colors: {
  custom: {
    50: '#acaaa4',
    500: '#8a887f',
    950: '#000000',
  },
}
SCSS
$custom: #8a887f;
$custom-light: #acaaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a887f",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 127
  },
  "hsl": {
    "h": 49.091,
    "s": 4.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.01344,
    "h": 96.5
  },
  "luminance": 0.24544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A887F

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

Preview Lab → · Contrast checker → · Palette generator →

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