#7E8480#7E8480

#7E8480 is a mid, near-neutral grey. Relative luminance 0.225; OKLCH L 60.7% C 0.009 H 157.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7E8480
RGBrgb(126, 132, 128)
HSLhsl(140, 2%, 51%)
HSVhsv(140, 5%, 52%)
CMYKcmyk(4.5%, 0%, 3%, 48.2%)
CIE-LABlab(54.55, -3.02, 1.39)
CIE-LCHlch(54.55, 3.33, 155.36°)
OKLaboklab(60.71% -0.0085 0.0036)
OKLCHoklch(60.71% 0.009 157)
XYZxyz(20.7510, 22.4965, 23.6669)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8480 #847E82
analogous
#7F847E #7E8480 #7E8483
triadic
#7E8480 #807E84 #84807E
tetradic
#7E8480 #7E7F84 #847E82 #84837E
square
#7E8480 #7E7F84 #847E82 #84837E
split-complementary
#7E8480 #837E84 #847E7F
monochromatic
#424543 #606562 #7E8480 #9DA29F #BDC0BE

Accessibility & contrast

On white

3.82
#7E8480 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7E8480 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8480
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8480#FFFFFF#000000##000000
##7E84801.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#848380
Deuteranopia (green-blind)
#838280
Tritanopia (blue-blind)
#7D8483
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e8480;
/* rgb */ color: rgb(126, 132, 128);
/* oklch */ color: oklch(60.7% 0.009 157.0);
Tailwind
colors: {
  custom: {
    50: '#a3a7a4',
    500: '#7e8480',
    950: '#000000',
  },
}
SCSS
$custom: #7e8480;
$custom-light: #a3a7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8480",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 128
  },
  "hsl": {
    "h": 140,
    "s": 2.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.00926,
    "h": 157
  },
  "luminance": 0.22497
}

Semantic roles & 50–950 ramp

primary
#7E8480
secondary
#B0AEAF
accent
#7C9CAC
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E8480

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8480 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva