#7E8078#7E8078

#7E8078 is a mid, near-neutral grey. Relative luminance 0.212; OKLCH L 59.6% C 0.012 H 118.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7E8078
RGBrgb(126, 128, 120)
HSLhsl(75, 3%, 49%)
HSVhsv(75, 6%, 50%)
CMYKcmyk(1.6%, 0%, 6.3%, 49.8%)
CIE-LABlab(53.20, -2.31, 4.08)
CIE-LCHlch(53.20, 4.69, 119.54°)
OKLaboklab(59.57% -0.0057 0.0107)
OKLCHoklch(59.57% 0.012 118.2)
XYZxyz(19.7130, 21.2300, 20.8249)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8078 #7A7880
analogous
#807E78 #7E8078 #7A8078
triadic
#7E8078 #787E80 #80787E
tetradic
#7E8078 #78807E #7A7880 #80787A
square
#7E8078 #78807E #7A7880 #80787A
split-complementary
#7E8078 #787A80 #7E7880
monochromatic
#40413D #5F605A #7E8078 #9C9E97 #BABBB7

Accessibility & contrast

On white

4.00
#7E8078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7E8078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8078
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8078#FFFFFF#000000##000000
##7E80781.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F78
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#7F7F7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e8078;
/* rgb */ color: rgb(126, 128, 120);
/* oklch */ color: oklch(59.6% 0.012 118.2);
Tailwind
colors: {
  custom: {
    50: '#a3a49f',
    500: '#7e8078',
    950: '#000000',
  },
}
SCSS
$custom: #7e8078;
$custom-light: #a3a49f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8078",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 120
  },
  "hsl": {
    "h": 75,
    "s": 3.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.01213,
    "h": 118.2
  },
  "luminance": 0.2123
}

Semantic roles & 50–950 ramp

primary
#7E8078
secondary
#A9A8AC
accent
#7BAC88
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #7E8078

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

Preview Lab → · Contrast checker → · Palette generator →

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