#797F71#797F71
#797F71 is a mid, muted grey. Relative luminance 0.204; OKLCH L 58.7% C 0.022 H 126.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #797F71 |
|---|---|
| RGB | rgb(121, 127, 113) |
| HSL | hsl(86, 6%, 47%) |
| HSV | hsv(86, 11%, 50%) |
| CMYK | cmyk(4.7%, 0%, 11%, 50.2%) |
| CIE-LAB | lab(52.33, -4.98, 6.85) |
| CIE-LCH | lch(52.33, 8.47, 126.03°) |
| OKLab | oklab(58.72% -0.013 0.0178) |
| OKLCH | oklch(58.72% 0.022 126) |
| XYZ | xyz(18.4547, 20.4359, 18.5919) |
| Luminance | 0.2044 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 6.06
Gray
#808080
ΔE00 8.34
Brown Grey
#8D8468
ΔE00 8.81
Grey
#929591
ΔE00 9.88
Taupe
#8B7D6B
ΔE00 10.37
Flint
#6F7A80
ΔE00 10.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F71 #77717F
analogous
#7F7E71 #797F71 #727F71
triadic
#797F71 #71797F #7F7179
tetradic
#797F71 #717F7E #77717F #7F7172
square
#797F71 #717F7E #77717F #7F7172
split-complementary
#797F71 #71727F #7E717F
monochromatic
#3B3E37 #5A5F54 #797F71 #979D91 #B6BAB1
Accessibility & contrast
On white
4.13
#797F71 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#797F71 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F71
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F71 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817D70
Deuteranopia (green-blind)
#807D72
Tritanopia (blue-blind)
#7A7E7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #797f71; /* rgb */ color: rgb(121, 127, 113); /* oklch */ color: oklch(58.7% 0.022 126.0);
Tailwind
colors: {
custom: {
50: '#9fa499',
500: '#797f71',
950: '#000000',
},
}SCSS
$custom: #797f71; $custom-light: #9fa499; $custom-dark: #000000;
JSON
{
"hex": "#797f71",
"rgb": {
"r": 121,
"g": 127,
"b": 113
},
"hsl": {
"h": 85.714,
"s": 5.833,
"l": 47.059
},
"oklch": {
"l": 0.58721,
"c": 0.02204,
"h": 126
},
"luminance": 0.20436
}Semantic roles & 50–950 ramp
primary
#797F71
secondary
#A5A2AA
accent
#79AF90
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E