#808478#808478

#808478 is a mid, near-neutral grey. Relative luminance 0.224; OKLCH L 60.6% C 0.018 H 122.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#808478
RGBrgb(128, 132, 120)
HSLhsl(80, 5%, 49%)
HSVhsv(80, 9%, 52%)
CMYKcmyk(3%, 0%, 9.1%, 48.2%)
CIE-LABlab(54.50, -3.81, 5.97)
CIE-LCHlch(54.50, 7.08, 122.58°)
OKLaboklab(60.64% -0.0097 0.0156)
OKLCHoklch(60.64% 0.018 122)
XYZxyz(20.5430, 22.4478, 21.0163)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808478 #7C7884
analogous
#848278 #808478 #7A8478
triadic
#808478 #788084 #847880
tetradic
#808478 #788482 #7C7884 #84787A
square
#808478 #788482 #7C7884 #84787A
split-complementary
#808478 #787A84 #827884
monochromatic
#42443E #61645B #808478 #9EA198 #BCBEB8

Accessibility & contrast

On white

3.83
#808478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#808478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808478
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808478#FFFFFF#000000##000000
##8084781.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#868277
Deuteranopia (green-blind)
#858278
Tritanopia (blue-blind)
#818380
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #808478;
/* rgb */ color: rgb(128, 132, 120);
/* oklch */ color: oklch(60.6% 0.018 122.0);
Tailwind
colors: {
  custom: {
    50: '#a4a79f',
    500: '#808478',
    950: '#000000',
  },
}
SCSS
$custom: #808478;
$custom-light: #a4a79f;
$custom-dark: #000000;
JSON
{
  "hex": "#808478",
  "rgb": {
    "r": 128,
    "g": 132,
    "b": 120
  },
  "hsl": {
    "h": 80,
    "s": 4.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.01835,
    "h": 122
  },
  "luminance": 0.22448
}

Semantic roles & 50–950 ramp

primary
#808478
secondary
#ABA9AF
accent
#7AAE8B
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #808478

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

Preview Lab → · Contrast checker → · Palette generator →

#808478 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva