#7E8074#7E8074

#7E8074 is a mid, near-neutral grey. Relative luminance 0.211; OKLCH L 59.5% C 0.018 H 114.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7E8074
RGBrgb(126, 128, 116)
HSLhsl(70, 5%, 48%)
HSVhsv(70, 9%, 50%)
CMYKcmyk(1.6%, 0%, 9.4%, 49.8%)
CIE-LABlab(53.10, -3.06, 6.26)
CIE-LCHlch(53.10, 6.97, 116.06°)
OKLaboklab(59.46% -0.0075 0.0163)
OKLCHoklch(59.46% 0.018 114.6)
XYZxyz(19.4753, 21.1350, 19.5731)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8074 #767480
analogous
#807C74 #7E8074 #788074
triadic
#7E8074 #747E80 #80747E
tetradic
#7E8074 #74807C #767480 #807478
square
#7E8074 #74807C #767480 #807478
split-complementary
#7E8074 #747880 #7C7480
monochromatic
#3F403A #5E6057 #7E8074 #9C9E94 #BABBB4

Accessibility & contrast

On white

4.02
#7E8074 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7E8074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8074
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8074#FFFFFF#000000##000000
##7E80741.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#827F73
Deuteranopia (green-blind)
#827F74
Tritanopia (blue-blind)
#807E7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e8074;
/* rgb */ color: rgb(126, 128, 116);
/* oklch */ color: oklch(59.5% 0.018 114.6);
Tailwind
colors: {
  custom: {
    50: '#a3a49c',
    500: '#7e8074',
    950: '#000000',
  },
}
SCSS
$custom: #7e8074;
$custom-light: #a3a49c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8074",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 116
  },
  "hsl": {
    "h": 70,
    "s": 4.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.01795,
    "h": 114.6
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#7E8074
secondary
#A6A5AB
accent
#7AAE82
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #7E8074

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

Preview Lab → · Contrast checker → · Palette generator →

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