#7E7E6E#7E7E6E

#7E7E6E is a mid, muted grey. Relative luminance 0.205; OKLCH L 58.8% C 0.024 H 107.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7E7E6E
RGBrgb(126, 126, 110)
HSLhsl(60, 7%, 46%)
HSVhsv(60, 13%, 49%)
CMYKcmyk(0%, 0%, 12.7%, 50.6%)
CIE-LABlab(52.38, -3.01, 8.73)
CIE-LCHlch(52.38, 9.23, 109.01°)
OKLaboklab(58.84% -0.007 0.0226)
OKLCHoklch(58.84% 0.024 107.1)
XYZxyz(18.8792, 20.4833, 17.7079)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E6E #6E6E7E
analogous
#7E766E #7E7E6E #767E6E
triadic
#7E7E6E #6E7E7E #7E6E7E
tetradic
#7E7E6E #6E7E76 #6E6E7E #7E6E76
square
#7E7E6E #6E7E76 #6E6E7E #7E6E76
split-complementary
#7E7E6E #6E767E #766E7E
monochromatic
#3D3D35 #5D5D51 #7E7E6E #9C9C8D #B8B8AE

Accessibility & contrast

On white

4.12
#7E7E6E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7E7E6E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E6E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E6E#FFFFFF#000000##000000
##7E7E6E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D6D
Deuteranopia (green-blind)
#817D6F
Tritanopia (blue-blind)
#817C79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e7e6e;
/* rgb */ color: rgb(126, 126, 110);
/* oklch */ color: oklch(58.8% 0.024 107.1);
Tailwind
colors: {
  custom: {
    50: '#a3a397',
    500: '#7e7e6e',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e6e;
$custom-light: #a3a397;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e6e",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 110
  },
  "hsl": {
    "h": 60,
    "s": 6.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5884,
    "c": 0.02368,
    "h": 107.1
  },
  "luminance": 0.20483
}

Semantic roles & 50–950 ramp

primary
#7E7E6E
secondary
#A0A0A8
accent
#78B078
background
#FAFAF9
surface
#F3F3F2
border
#CDCDCC
text
#0F0F0D
muted
#7F7F7E

Preview Lab

Preview with #7E7E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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