#8E8A7C#8E8A7C

#8E8A7C is a light, muted grey. Relative luminance 0.254; OKLCH L 63.3% C 0.021 H 93.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8E8A7C
RGBrgb(142, 138, 124)
HSLhsl(47, 7%, 52%)
HSVhsv(47, 13%, 56%)
CMYKcmyk(0%, 2.8%, 12.7%, 44.3%)
CIE-LABlab(57.45, -1.07, 8.03)
CIE-LCHlch(57.45, 8.10, 97.61°)
OKLaboklab(63.28% -0.0014 0.0209)
OKLCHoklch(63.28% 0.021 93.8)
XYZxyz(23.8816, 25.3832, 22.7062)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A7C #7C808E
analogous
#8E817C #8E8A7C #898E7C
triadic
#8E8A7C #7C8E8A #8A7C8E
tetradic
#8E8A7C #7C8E81 #7C808E #8E7C89
square
#8E8A7C #7C8E81 #7C808E #8E7C89
split-complementary
#8E8A7C #7C898E #817C8E
monochromatic
#4D4B43 #6E6B5F #8E8A7C #AAA79D #C7C5BE

Accessibility & contrast

On white

3.46
#8E8A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8E8A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A7C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A7C#FFFFFF#000000##000000
##8E8A7C1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D897B
Deuteranopia (green-blind)
#8E8B7C
Tritanopia (blue-blind)
#918886
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8e8a7c;
/* rgb */ color: rgb(142, 138, 124);
/* oklch */ color: oklch(63.3% 0.021 93.8);
Tailwind
colors: {
  custom: {
    50: '#afaca1',
    500: '#8e8a7c',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a7c;
$custom-light: #afaca1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a7c",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 124
  },
  "hsl": {
    "h": 46.667,
    "s": 7.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6328,
    "c": 0.02095,
    "h": 93.8
  },
  "luminance": 0.25383
}

Semantic roles & 50–950 ramp

primary
#8E8A7C
secondary
#AFB1B7
accent
#84B077
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100F
muted
#7F7F7E

Preview Lab

Preview with #8E8A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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