#8A8278#8A8278

#8A8278 is a mid, near-neutral grey. Relative luminance 0.227; OKLCH L 61.1% C 0.018 H 73.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A8278
RGBrgb(138, 130, 120)
HSLhsl(33, 7%, 51%)
HSVhsv(33, 13%, 54%)
CMYKcmyk(0%, 5.8%, 13%, 45.9%)
CIE-LABlab(54.79, 1.19, 6.49)
CIE-LCHlch(54.79, 6.60, 79.58°)
OKLaboklab(61.07% 0.005 0.017)
OKLCHoklch(61.07% 0.018 73.6)
XYZxyz(21.8538, 22.7249, 21.0008)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8278 #78808A
analogous
#8A7978 #8A8278 #898A78
triadic
#8A8278 #788A82 #82788A
tetradic
#8A8278 #788A79 #78808A #8A7889
square
#8A8278 #788A79 #78808A #8A7889
split-complementary
#8A8278 #78898A #79788A
monochromatic
#49443F #69635B #8A8278 #A6A099 #C3BFBA

Accessibility & contrast

On white

3.79
#8A8278 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A8278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8278
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8278#FFFFFF#000000##000000
##8A82781.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#858277
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#8D807F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8278;
/* rgb */ color: rgb(138, 130, 120);
/* oklch */ color: oklch(61.1% 0.018 73.6);
Tailwind
colors: {
  custom: {
    50: '#aca69f',
    500: '#8a8278',
    950: '#000000',
  },
}
SCSS
$custom: #8a8278;
$custom-light: #aca69f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8278",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 120
  },
  "hsl": {
    "h": 33.333,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61071,
    "c": 0.01769,
    "h": 73.6
  },
  "luminance": 0.22725
}

Semantic roles & 50–950 ramp

primary
#8A8278
secondary
#ABAEB3
accent
#91B078
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0E
muted
#7F7F7E

Preview Lab

Preview with #8A8278

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

Preview Lab → · Contrast checker → · Palette generator →

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