#797B71#797B71
#797B71 is a mid, near-neutral grey. Relative luminance 0.194; OKLCH L 57.8% C 0.015 H 116.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #797B71 |
|---|---|
| RGB | rgb(121, 123, 113) |
| HSL | hsl(72, 4%, 46%) |
| HSV | hsv(72, 8%, 48%) |
| CMYK | cmyk(1.6%, 0%, 8.1%, 51.8%) |
| CIE-LAB | lab(51.18, -2.71, 5.21) |
| CIE-LCH | lch(51.18, 5.87, 117.47°) |
| OKLab | oklab(57.81% -0.0066 0.0136) |
| OKLCH | oklch(57.81% 0.015 116) |
| XYZ | xyz(17.9483, 19.4232, 18.4231) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 4.04
Gray
#808080
ΔE00 6.22
Taupe
#8B7D6B
ΔE00 8.61
Dimgray
#696969
ΔE00 8.80
Brown Grey
#8D8468
ΔE00 8.99
Flint
#6F7A80
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B71 #73717B
analogous
#7B7871 #797B71 #747B71
triadic
#797B71 #71797B #7B7179
tetradic
#797B71 #717B78 #73717B #7B7174
square
#797B71 #717B78 #73717B #7B7174
split-complementary
#797B71 #71747B #78717B
monochromatic
#3A3B36 #5A5B54 #797B71 #979990 #B5B6B0
Accessibility & contrast
On white
4.30
#797B71 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#797B71 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B71
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B71 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#7C7A71
Tritanopia (blue-blind)
#7A7A78
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797b71; /* rgb */ color: rgb(121, 123, 113); /* oklch */ color: oklch(57.8% 0.015 116.0);
Tailwind
colors: {
custom: {
50: '#9fa199',
500: '#797b71',
950: '#000000',
},
}SCSS
$custom: #797b71; $custom-light: #9fa199; $custom-dark: #000000;
JSON
{
"hex": "#797b71",
"rgb": {
"r": 121,
"g": 123,
"b": 113
},
"hsl": {
"h": 72,
"s": 4.237,
"l": 46.275
},
"oklch": {
"l": 0.57814,
"c": 0.01515,
"h": 116
},
"luminance": 0.19423
}Semantic roles & 50–950 ramp
primary
#797B71
secondary
#A2A1A7
accent
#7AAD85
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E