#7E8A76#7E8A76

#7E8A76 is a mid, muted grey. Relative luminance 0.239; OKLCH L 61.8% C 0.033 H 132.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7E8A76
RGBrgb(126, 138, 118)
HSLhsl(96, 8%, 50%)
HSVhsv(96, 14%, 54%)
CMYKcmyk(8.7%, 0%, 14.5%, 45.9%)
CIE-LABlab(56.01, -8.29, 9.25)
CIE-LCHlch(56.01, 12.42, 131.88°)
OKLaboklab(61.78% -0.0221 0.0239)
OKLCHoklch(61.78% 0.033 132.8)
XYZxyz(20.9621, 23.9204, 20.6488)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A76 #82768A
analogous
#888A76 #7E8A76 #768A78
triadic
#7E8A76 #767E8A #8A767E
tetradic
#7E8A76 #76888A #82768A #8A7876
square
#7E8A76 #76888A #82768A #8A7876
split-complementary
#7E8A76 #78768A #8A7688
monochromatic
#42483E #60695A #7E8A76 #9DA697 #BCC2B8

Accessibility & contrast

On white

3.63
#7E8A76 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7E8A76 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A76
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A76#FFFFFF#000000##000000
##7E8A761.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8775
Deuteranopia (green-blind)
#8A8677
Tritanopia (blue-blind)
#7E8884
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8a76;
/* rgb */ color: rgb(126, 138, 118);
/* oklch */ color: oklch(61.8% 0.033 132.8);
Tailwind
colors: {
  custom: {
    50: '#a3ac9d',
    500: '#7e8a76',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a76;
$custom-light: #a3ac9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a76",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 118
  },
  "hsl": {
    "h": 96,
    "s": 7.874,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61775,
    "c": 0.03259,
    "h": 132.8
  },
  "luminance": 0.23921
}

Semantic roles & 50–950 ramp

primary
#7E8A76
secondary
#AFA9B2
accent
#77B19A
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100E
muted
#7F7F7E

Preview Lab

Preview with #7E8A76

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

Preview Lab → · Contrast checker → · Palette generator →

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