#797E71#797E71
#797E71 is a mid, muted grey. Relative luminance 0.202; OKLCH L 58.5% C 0.020 H 124.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #797E71 |
|---|---|
| RGB | rgb(121, 126, 113) |
| HSL | hsl(83, 5%, 47%) |
| HSV | hsv(83, 10%, 49%) |
| CMYK | cmyk(4%, 0%, 10.3%, 50.6%) |
| CIE-LAB | lab(52.04, -4.42, 6.44) |
| CIE-LCH | lch(52.04, 7.81, 124.44°) |
| OKLab | oklab(58.49% -0.0114 0.0168) |
| OKLCH | oklch(58.49% 0.02 124.2) |
| XYZ | xyz(18.3262, 20.1789, 18.5490) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 5.51
Gray
#808080
ΔE00 7.79
Brown Grey
#8D8468
ΔE00 8.77
Grey
#929591
ΔE00 9.82
Taupe
#8B7D6B
ΔE00 9.90
Flint
#6F7A80
ΔE00 10.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E71 #76717E
analogous
#7E7D71 #797E71 #737E71
triadic
#797E71 #71797E #7E7179
tetradic
#797E71 #717E7D #76717E #7E7173
square
#797E71 #717E7D #76717E #7E7173
split-complementary
#797E71 #71737E #7D717E
monochromatic
#3B3D37 #5A5E54 #797E71 #979C90 #B6B9B1
Accessibility & contrast
On white
4.17
#797E71 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#797E71 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E71
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E71 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807C70
Deuteranopia (green-blind)
#7F7C71
Tritanopia (blue-blind)
#7A7D7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #797e71; /* rgb */ color: rgb(121, 126, 113); /* oklch */ color: oklch(58.5% 0.020 124.2);
Tailwind
colors: {
custom: {
50: '#9fa399',
500: '#797e71',
950: '#000000',
},
}SCSS
$custom: #797e71; $custom-light: #9fa399; $custom-dark: #000000;
JSON
{
"hex": "#797e71",
"rgb": {
"r": 121,
"g": 126,
"b": 113
},
"hsl": {
"h": 83.077,
"s": 5.439,
"l": 46.863
},
"oklch": {
"l": 0.58493,
"c": 0.02028,
"h": 124.2
},
"luminance": 0.20179
}Semantic roles & 50–950 ramp
primary
#797E71
secondary
#A5A2A9
accent
#79AF8E
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E