#8A8478#8A8478

#8A8478 is a mid, near-neutral grey. Relative luminance 0.233; OKLCH L 61.5% C 0.019 H 84.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A8478
RGBrgb(138, 132, 120)
HSLhsl(40, 7%, 51%)
HSVhsv(40, 13%, 54%)
CMYKcmyk(0%, 4.3%, 13%, 45.9%)
CIE-LABlab(55.34, 0.06, 7.28)
CIE-LCHlch(55.34, 7.28, 89.55°)
OKLaboklab(61.51% 0.0018 0.019)
OKLCHoklch(61.51% 0.019 84.6)
XYZxyz(22.1224, 23.2621, 21.0903)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8478 #787E8A
analogous
#8A7B78 #8A8478 #878A78
triadic
#8A8478 #788A84 #84788A
tetradic
#8A8478 #788A7B #787E8A #8A7887
square
#8A8478 #788A7B #787E8A #8A7887
split-complementary
#8A8478 #78878A #7B788A
monochromatic
#49453F #69655B #8A8478 #A6A299 #C3C0BA

Accessibility & contrast

On white

3.72
#8A8478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A8478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8478
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8478#FFFFFF#000000##000000
##8A84781.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#878477
Deuteranopia (green-blind)
#898578
Tritanopia (blue-blind)
#8D8281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8478;
/* rgb */ color: rgb(138, 132, 120);
/* oklch */ color: oklch(61.5% 0.019 84.6);
Tailwind
colors: {
  custom: {
    50: '#aca79f',
    500: '#8a8478',
    950: '#000000',
  },
}
SCSS
$custom: #8a8478;
$custom-light: #aca79f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8478",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 120
  },
  "hsl": {
    "h": 40,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61506,
    "c": 0.01908,
    "h": 84.6
  },
  "luminance": 0.23262
}

Semantic roles & 50–950 ramp

primary
#8A8478
secondary
#ABAEB3
accent
#8AB078
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0E
muted
#7F7F7E

Preview Lab

Preview with #8A8478

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

Preview Lab → · Contrast checker → · Palette generator →

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