#7E7E7A#7E7E7A
#7E7E7A is a mid, near-neutral grey. Relative luminance 0.208; OKLCH L 59.2% C 0.006 H 106.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E7A |
|---|---|
| RGB | rgb(126, 126, 122) |
| HSL | hsl(60, 2%, 49%) |
| HSV | hsv(60, 3%, 49%) |
| CMYK | cmyk(0%, 0%, 3.2%, 50.6%) |
| CIE-LAB | lab(52.69, -0.79, 2.17) |
| CIE-LCH | lch(52.69, 2.31, 109.88°) |
| OKLab | oklab(59.19% -0.0017 0.0057) |
| OKLCH | oklch(59.19% 0.006 106.6) |
| XYZ | xyz(19.5774, 20.7625, 21.3848) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 1.14
Gray
#808080
ΔE00 2.50
Flint
#6F7A80
ΔE00 7.12
Grey
#929591
ΔE00 8.11
Taupe
#8B7D6B
ΔE00 8.33
Dimgray
#696969
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E7A #7A7A7E
analogous
#7E7C7A #7E7E7A #7C7E7A
triadic
#7E7E7A #7A7E7E #7E7A7E
tetradic
#7E7E7A #7A7E7C #7A7A7E #7E7A7C
square
#7E7E7A #7A7E7C #7A7A7E #7E7A7C
split-complementary
#7E7E7A #7A7C7E #7C7A7E
monochromatic
#40403E #5F5F5C #7E7E7A #9C9C99 #BABAB8
Accessibility & contrast
On white
4.08
#7E7E7A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#7E7E7A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E7A
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E7A | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7E7A
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#7F7D7D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7e7e7a; /* rgb */ color: rgb(126, 126, 122); /* oklch */ color: oklch(59.2% 0.006 106.6);
Tailwind
colors: {
custom: {
50: '#a3a3a0',
500: '#7e7e7a',
950: '#000000',
},
}SCSS
$custom: #7e7e7a; $custom-light: #a3a3a0; $custom-dark: #000000;
JSON
{
"hex": "#7e7e7a",
"rgb": {
"r": 126,
"g": 126,
"b": 122
},
"hsl": {
"h": 60,
"s": 1.613,
"l": 48.627
},
"oklch": {
"l": 0.59186,
"c": 0.00598,
"h": 106.6
},
"luminance": 0.20762
}Semantic roles & 50–950 ramp
primary
#7E7E7A
secondary
#A9A9AB
accent
#7DAB7D
background
#FAFAF9
surface
#F3F3F2
border
#CDCDCC
text
#0F0F0E
muted
#7F7F7E