#7E8A7A#7E8A7A
#7E8A7A is a mid, muted grey. Relative luminance 0.240; OKLCH L 61.9% C 0.027 H 137.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8A7A |
|---|---|
| RGB | rgb(126, 138, 122) |
| HSL | hsl(105, 6%, 51%) |
| HSV | hsv(105, 12%, 54%) |
| CMYK | cmyk(8.7%, 0%, 11.6%, 45.9%) |
| CIE-LAB | lab(56.11, -7.55, 7.09) |
| CIE-LCH | lch(56.11, 10.36, 136.79°) |
| OKLab | oklab(61.88% -0.0204 0.0184) |
| OKLCH | oklch(61.88% 0.027 137.8) |
| XYZ | xyz(21.2049, 24.0175, 21.9273) |
| Luminance | 0.2402 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Green Grey
#77926F
ΔE00 8.00
Medium Grey
#7D7F7C
ΔE00 8.60
Grey
#929591
ΔE00 8.69
Slate Green
#658D6D
ΔE00 9.73
Grey Green
#86A17D
ΔE00 10.15
Brown Grey
#8D8468
ΔE00 10.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8A7A #867A8A
analogous
#868A7A #7E8A7A #7A8A7E
triadic
#7E8A7A #7A7E8A #8A7A7E
tetradic
#7E8A7A #7A868A #867A8A #8A7E7A
square
#7E8A7A #7A868A #867A8A #8A7E7A
split-complementary
#7E8A7A #7E7A8A #8A7A86
monochromatic
#434940 #606A5D #7E8A7A #9EA79B #BDC3BB
Accessibility & contrast
On white
3.62
#7E8A7A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#7E8A7A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8A7A
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8A7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8A7A | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B8779
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#7E8985
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #7e8a7a; /* rgb */ color: rgb(126, 138, 122); /* oklch */ color: oklch(61.9% 0.027 137.8);
Tailwind
colors: {
custom: {
50: '#a3aca0',
500: '#7e8a7a',
950: '#000000',
},
}SCSS
$custom: #7e8a7a; $custom-light: #a3aca0; $custom-dark: #000000;
JSON
{
"hex": "#7e8a7a",
"rgb": {
"r": 126,
"g": 138,
"b": 122
},
"hsl": {
"h": 105,
"s": 6.4,
"l": 50.98
},
"oklch": {
"l": 0.61884,
"c": 0.02746,
"h": 137.8
},
"luminance": 0.24018
}Semantic roles & 50–950 ramp
primary
#7E8A7A
secondary
#B2ACB3
accent
#78AFA2
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100E
muted
#7F7F7E