#797C71#797C71
#797C71 is a mid, near-neutral grey. Relative luminance 0.197; OKLCH L 58.0% C 0.017 H 119.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #797C71 |
|---|---|
| RGB | rgb(121, 124, 113) |
| HSL | hsl(76, 5%, 46%) |
| HSV | hsv(76, 9%, 49%) |
| CMYK | cmyk(2.4%, 0%, 8.9%, 51.4%) |
| CIE-LAB | lab(51.46, -3.28, 5.62) |
| CIE-LCH | lch(51.46, 6.50, 120.27°) |
| OKLab | oklab(58.04% -0.0082 0.0147) |
| OKLCH | oklch(58.04% 0.017 119.3) |
| XYZ | xyz(18.0730, 19.6725, 18.4646) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 4.47
Gray
#808080
ΔE00 6.72
Brown Grey
#8D8468
ΔE00 8.86
Taupe
#8B7D6B
ΔE00 9.01
Flint
#6F7A80
ΔE00 9.40
Dimgray
#696969
ΔE00 9.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C71 #74717C
analogous
#7C7A71 #797C71 #747C71
triadic
#797C71 #71797C #7C7179
tetradic
#797C71 #717C7A #74717C #7C7174
square
#797C71 #717C7A #74717C #7C7174
split-complementary
#797C71 #71747C #7A717C
monochromatic
#3B3C37 #5A5C54 #797C71 #979A90 #B5B7B0
Accessibility & contrast
On white
4.26
#797C71 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#797C71 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C71
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C71 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7B70
Deuteranopia (green-blind)
#7D7B71
Tritanopia (blue-blind)
#7A7B79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #797c71; /* rgb */ color: rgb(121, 124, 113); /* oklch */ color: oklch(58.0% 0.017 119.3);
Tailwind
colors: {
custom: {
50: '#9fa199',
500: '#797c71',
950: '#000000',
},
}SCSS
$custom: #797c71; $custom-light: #9fa199; $custom-dark: #000000;
JSON
{
"hex": "#797c71",
"rgb": {
"r": 121,
"g": 124,
"b": 113
},
"hsl": {
"h": 76.364,
"s": 4.641,
"l": 46.471
},
"oklch": {
"l": 0.5804,
"c": 0.01682,
"h": 119.3
},
"luminance": 0.19673
}Semantic roles & 50–950 ramp
primary
#797C71
secondary
#A3A1A7
accent
#7AAE88
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0E
muted
#7E7E7E