#8A8078#8A8078

#8A8078 is a mid, near-neutral grey. Relative luminance 0.222; OKLCH L 60.6% C 0.017 H 61.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A8078
RGBrgb(138, 128, 120)
HSLhsl(27, 7%, 51%)
HSVhsv(27, 13%, 54%)
CMYKcmyk(0%, 7.2%, 13%, 45.9%)
CIE-LABlab(54.24, 2.33, 5.70)
CIE-LCHlch(54.24, 6.16, 67.74°)
OKLaboklab(60.64% 0.0082 0.015)
OKLCHoklch(60.64% 0.017 61.2)
XYZxyz(21.5903, 22.1980, 20.9129)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8078 #78828A
analogous
#8A7879 #8A8078 #8A8978
triadic
#8A8078 #788A80 #80788A
tetradic
#8A8078 #798A78 #78828A #89788A
square
#8A8078 #798A78 #78828A #89788A
split-complementary
#8A8078 #788A89 #78798A
monochromatic
#49433F #69625B #8A8078 #A69F99 #C3BEBA

Accessibility & contrast

On white

3.86
#8A8078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A8078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8078
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8078#FFFFFF#000000##000000
##8A80781.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#838078
Deuteranopia (green-blind)
#858378
Tritanopia (blue-blind)
#8E7E7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8078;
/* rgb */ color: rgb(138, 128, 120);
/* oklch */ color: oklch(60.6% 0.017 61.2);
Tailwind
colors: {
  custom: {
    50: '#aca49f',
    500: '#8a8078',
    950: '#000000',
  },
}
SCSS
$custom: #8a8078;
$custom-light: #aca49f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8078",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 120
  },
  "hsl": {
    "h": 26.667,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60638,
    "c": 0.01707,
    "h": 61.2
  },
  "luminance": 0.22198
}

Semantic roles & 50–950 ramp

primary
#8A8078
secondary
#ABAFB3
accent
#97B078
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0E
muted
#7F7F7E

Preview Lab

Preview with #8A8078

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

Preview Lab → · Contrast checker → · Palette generator →

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