#7E8474#7E8474

#7E8474 is a mid, muted grey. Relative luminance 0.222; OKLCH L 60.4% C 0.025 H 123.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7E8474
RGBrgb(126, 132, 116)
HSLhsl(83, 6%, 49%)
HSVhsv(83, 12%, 52%)
CMYKcmyk(4.5%, 0%, 12.1%, 48.2%)
CIE-LABlab(54.24, -5.32, 7.88)
CIE-LCHlch(54.24, 9.51, 123.99°)
OKLaboklab(60.36% -0.0138 0.0205)
OKLCHoklch(60.36% 0.025 123.9)
XYZxyz(20.0074, 22.1991, 19.7504)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8474 #7A7484
analogous
#848274 #7E8474 #768474
triadic
#7E8474 #747E84 #84747E
tetradic
#7E8474 #748482 #7A7484 #847476
square
#7E8474 #748482 #7A7484 #847476
split-complementary
#7E8474 #747684 #827484
monochromatic
#40433B #5F6357 #7E8474 #9CA194 #BABEB5

Accessibility & contrast

On white

3.86
#7E8474 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7E8474 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8474
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8474#FFFFFF#000000##000000
##7E84741.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)
#868273
Deuteranopia (green-blind)
#858275
Tritanopia (blue-blind)
#7F827F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e8474;
/* rgb */ color: rgb(126, 132, 116);
/* oklch */ color: oklch(60.4% 0.025 123.9);
Tailwind
colors: {
  custom: {
    50: '#a3a79c',
    500: '#7e8474',
    950: '#000000',
  },
}
SCSS
$custom: #7e8474;
$custom-light: #a3a79c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8474",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 116
  },
  "hsl": {
    "h": 82.5,
    "s": 6.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.02467,
    "h": 123.9
  },
  "luminance": 0.22199
}

Semantic roles & 50–950 ramp

primary
#7E8474
secondary
#A9A6AE
accent
#78B08D
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #7E8474

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

Preview Lab → · Contrast checker → · Palette generator →

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