#8A8A7F#8A8A7F

#8A8A7F is a light, near-neutral grey. Relative luminance 0.251; OKLCH L 63.0% C 0.016 H 106.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A8A7F
RGBrgb(138, 138, 127)
HSLhsl(60, 4%, 52%)
HSVhsv(60, 8%, 54%)
CMYKcmyk(0%, 0%, 8%, 45.9%)
CIE-LABlab(57.19, -2.08, 5.89)
CIE-LCHlch(57.19, 6.25, 109.43°)
OKLaboklab(63.02% -0.0047 0.0154)
OKLCHoklch(63.02% 0.016 106.9)
XYZxyz(23.4000, 25.1126, 23.6890)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A7F #7F7F8A
analogous
#8A857F #8A8A7F #858A7F
triadic
#8A8A7F #7F8A8A #8A7F8A
tetradic
#8A8A7F #7F8A85 #7F7F8A #8A7F85
square
#8A8A7F #7F8A85 #7F7F8A #8A7F85
split-complementary
#8A8A7F #7F858A #857F8A
monochromatic
#4B4B44 #6A6A61 #8A8A7F #A7A79F #C4C4BF

Accessibility & contrast

On white

3.49
#8A8A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8A8A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A7F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A7F#FFFFFF#000000##000000
##8A8A7F1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C897E
Deuteranopia (green-blind)
#8C8A7F
Tritanopia (blue-blind)
#8C8887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8a7f;
/* rgb */ color: rgb(138, 138, 127);
/* oklch */ color: oklch(63.0% 0.016 106.9);
Tailwind
colors: {
  custom: {
    50: '#acaca4',
    500: '#8a8a7f',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a7f;
$custom-light: #acaca4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a7f",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 4.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.01609,
    "h": 106.9
  },
  "luminance": 0.25113
}

Semantic roles & 50–950 ramp

primary
#8A8A7F
secondary
#B0B0B5
accent
#7AAE7A
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#10100F
muted
#7F7F7F

Preview Lab

Preview with #8A8A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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