#797E70#797E70
#797E70 is a mid, muted grey. Relative luminance 0.202; OKLCH L 58.5% C 0.022 H 123.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #797E70 |
|---|---|
| RGB | rgb(121, 126, 112) |
| HSL | hsl(81, 6%, 47%) |
| HSV | hsv(81, 11%, 49%) |
| CMYK | cmyk(4%, 0%, 11.1%, 50.6%) |
| CIE-LAB | lab(52.01, -4.60, 6.98) |
| CIE-LCH | lch(52.01, 8.36, 123.37°) |
| OKLab | oklab(58.47% -0.0118 0.0182) |
| OKLCH | oklch(58.47% 0.022 123.1) |
| XYZ | xyz(18.2702, 20.1565, 18.2542) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 5.92
Gray
#808080
ΔE00 8.19
Brown Grey
#8D8468
ΔE00 8.57
Taupe
#8B7D6B
ΔE00 9.93
Grey
#929591
ΔE00 10.06
Brownish Grey
#86775F
ΔE00 10.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E70 #75707E
analogous
#7E7C70 #797E70 #727E70
triadic
#797E70 #70797E #7E7079
tetradic
#797E70 #707E7C #75707E #7E7072
square
#797E70 #707E7C #75707E #7E7072
split-complementary
#797E70 #70727E #7C707E
monochromatic
#3B3D36 #5A5E53 #797E70 #979C8F #B5B9B0
Accessibility & contrast
On white
4.17
#797E70 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#797E70 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E70
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E70 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E70 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807C6F
Deuteranopia (green-blind)
#7F7C71
Tritanopia (blue-blind)
#7A7C7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #797e70; /* rgb */ color: rgb(121, 126, 112); /* oklch */ color: oklch(58.5% 0.022 123.1);
Tailwind
colors: {
custom: {
50: '#9fa399',
500: '#797e70',
950: '#000000',
},
}SCSS
$custom: #797e70; $custom-light: #9fa399; $custom-dark: #000000;
JSON
{
"hex": "#797e70",
"rgb": {
"r": 121,
"g": 126,
"b": 112
},
"hsl": {
"h": 81.429,
"s": 5.882,
"l": 46.667
},
"oklch": {
"l": 0.58465,
"c": 0.02169,
"h": 123.1
},
"luminance": 0.20157
}Semantic roles & 50–950 ramp
primary
#797E70
secondary
#A4A1A9
accent
#79AF8C
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0D
muted
#7E7F7E