#8C8A7E#8C8A7E

#8C8A7E is a light, near-neutral grey. Relative luminance 0.253; OKLCH L 63.2% C 0.018 H 99.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8C8A7E
RGBrgb(140, 138, 126)
HSLhsl(51, 6%, 52%)
HSVhsv(51, 10%, 55%)
CMYKcmyk(0%, 1.4%, 10%, 45.1%)
CIE-LABlab(57.33, -1.49, 6.69)
CIE-LCHlch(57.33, 6.86, 102.58°)
OKLaboklab(63.16% -0.0028 0.0175)
OKLCHoklch(63.16% 0.018 99.1)
XYZxyz(23.6692, 25.2589, 23.3632)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A7E #7E808C
analogous
#8C837E #8C8A7E #878C7E
triadic
#8C8A7E #7E8C8A #8A7E8C
tetradic
#8C8A7E #7E8C83 #7E808C #8C7E87
square
#8C8A7E #7E8C83 #7E808C #8C7E87
split-complementary
#8C8A7E #7E878C #837E8C
monochromatic
#4C4B44 #6C6B61 #8C8A7E #A9A79E #C6C5BF

Accessibility & contrast

On white

3.47
#8C8A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8C8A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A7E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A7E#FFFFFF#000000##000000
##8C8A7E1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D897D
Deuteranopia (green-blind)
#8D8A7E
Tritanopia (blue-blind)
#8E8887
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8c8a7e;
/* rgb */ color: rgb(140, 138, 126);
/* oklch */ color: oklch(63.2% 0.018 99.1);
Tailwind
colors: {
  custom: {
    50: '#adaca3',
    500: '#8c8a7e',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a7e;
$custom-light: #adaca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a7e",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 126
  },
  "hsl": {
    "h": 51.429,
    "s": 5.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6316,
    "c": 0.01769,
    "h": 99.1
  },
  "luminance": 0.25259
}

Semantic roles & 50–950 ramp

primary
#8C8A7E
secondary
#B0B1B6
accent
#81AF79
background
#FAFAFA
surface
#F4F4F3
border
#CECECD
text
#10100F
muted
#7F7F7F

Preview Lab

Preview with #8C8A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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