#8A8A7C#8A8A7C

#8A8A7C is a light, muted grey. Relative luminance 0.250; OKLCH L 62.9% C 0.020 H 107.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A8A7C
RGBrgb(138, 138, 124)
HSLhsl(60, 6%, 51%)
HSVhsv(60, 10%, 54%)
CMYKcmyk(0%, 0%, 10.1%, 45.9%)
CIE-LABlab(57.11, -2.62, 7.51)
CIE-LCHlch(57.11, 7.95, 109.23°)
OKLaboklab(62.93% -0.006 0.0196)
OKLCHoklch(62.93% 0.02 107)
XYZxyz(23.2074, 25.0356, 22.6746)
Luminance0.2504 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A7C #7C7C8A
analogous
#8A837C #8A8A7C #838A7C
triadic
#8A8A7C #7C8A8A #8A7C8A
tetradic
#8A8A7C #7C8A83 #7C7C8A #8A7C83
square
#8A8A7C #7C8A83 #7C7C8A #8A7C83
split-complementary
#8A8A7C #7C838A #837C8A
monochromatic
#4A4A42 #6A6A5F #8A8A7C #A7A79C #C4C4BD

Accessibility & contrast

On white

3.50
#8A8A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8A8A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A7C
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A7C#FFFFFF#000000##000000
##8A8A7C1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D897B
Deuteranopia (green-blind)
#8D897C
Tritanopia (blue-blind)
#8C8886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8a7c;
/* rgb */ color: rgb(138, 138, 124);
/* oklch */ color: oklch(62.9% 0.020 107.0);
Tailwind
colors: {
  custom: {
    50: '#acaca1',
    500: '#8a8a7c',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a7c;
$custom-light: #acaca1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a7c",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 124
  },
  "hsl": {
    "h": 60,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.62932,
    "c": 0.02044,
    "h": 107
  },
  "luminance": 0.25035
}

Semantic roles & 50–950 ramp

primary
#8A8A7C
secondary
#AEAEB4
accent
#79AF79
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100F
muted
#7F7F7E

Preview Lab

Preview with #8A8A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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