#7E8478#7E8478

#7E8478 is a mid, near-neutral grey. Relative luminance 0.223; OKLCH L 60.5% C 0.019 H 128.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7E8478
RGBrgb(126, 132, 120)
HSLhsl(90, 5%, 49%)
HSVhsv(90, 9%, 52%)
CMYKcmyk(4.5%, 0%, 9.1%, 48.2%)
CIE-LABlab(54.34, -4.58, 5.71)
CIE-LCHlch(54.34, 7.32, 128.68°)
OKLaboklab(60.47% -0.012 0.0149)
OKLCHoklch(60.47% 0.019 128.8)
XYZxyz(20.2451, 22.2942, 21.0023)
Luminance0.2229 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8478 #7E7884
analogous
#848478 #7E8478 #788478
triadic
#7E8478 #787E84 #84787E
tetradic
#7E8478 #788484 #7E7884 #847878
square
#7E8478 #788484 #7E7884 #847878
split-complementary
#7E8478 #787884 #847884
monochromatic
#41443E #5F645B #7E8478 #9DA198 #BBBEB8

Accessibility & contrast

On white

3.85
#7E8478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7E8478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8478
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8478#FFFFFF#000000##000000
##7E84781.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#858277
Deuteranopia (green-blind)
#848278
Tritanopia (blue-blind)
#7F8380
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e8478;
/* rgb */ color: rgb(126, 132, 120);
/* oklch */ color: oklch(60.5% 0.019 128.8);
Tailwind
colors: {
  custom: {
    50: '#a3a79f',
    500: '#7e8478',
    950: '#000000',
  },
}
SCSS
$custom: #7e8478;
$custom-light: #a3a79f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8478",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 120
  },
  "hsl": {
    "h": 90,
    "s": 4.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60469,
    "c": 0.01914,
    "h": 128.8
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#7E8478
secondary
#ACA9AF
accent
#7AAE94
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #7E8478

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

Preview Lab → · Contrast checker → · Palette generator →

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