#797E6D#797E6D
#797E6D is a mid, muted grey. Relative luminance 0.201; OKLCH L 58.4% C 0.026 H 120.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #797E6D |
|---|---|
| RGB | rgb(121, 126, 109) |
| HSL | hsl(78, 7%, 46%) |
| HSV | hsv(78, 13%, 49%) |
| CMYK | cmyk(4%, 0%, 13.5%, 50.6%) |
| CIE-LAB | lab(51.94, -5.15, 8.63) |
| CIE-LCH | lch(51.94, 10.05, 120.83°) |
| OKLab | oklab(58.38% -0.0132 0.0224) |
| OKLCH | oklch(58.38% 0.026 120.5) |
| XYZ | xyz(18.1060, 20.0908, 17.3891) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 7.11
Brown Grey
#8D8468
ΔE00 8.05
Gray
#808080
ΔE00 9.32
Taupe
#8B7D6B
ΔE00 10.10
Brownish Grey
#86775F
ΔE00 10.24
Grey
#929591
ΔE00 10.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E6D #726D7E
analogous
#7E7A6D #797E6D #707E6D
triadic
#797E6D #6D797E #7E6D79
tetradic
#797E6D #6D7E7A #726D7E #7E6D70
square
#797E6D #6D7E7A #726D7E #7E6D70
split-complementary
#797E6D #6D707E #7A6D7E
monochromatic
#3A3C34 #595D51 #797E6D #979C8C #B5B8AD
Accessibility & contrast
On white
4.18
#797E6D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#797E6D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E6D
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E6D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E6D | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807C6C
Deuteranopia (green-blind)
#807C6E
Tritanopia (blue-blind)
#7B7C79
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #797e6d; /* rgb */ color: rgb(121, 126, 109); /* oklch */ color: oklch(58.4% 0.026 120.5);
Tailwind
colors: {
custom: {
50: '#9fa396',
500: '#797e6d',
950: '#000000',
},
}SCSS
$custom: #797e6d; $custom-light: #9fa396; $custom-dark: #000000;
JSON
{
"hex": "#797e6d",
"rgb": {
"r": 121,
"g": 126,
"b": 109
},
"hsl": {
"h": 77.647,
"s": 7.234,
"l": 46.078
},
"oklch": {
"l": 0.58382,
"c": 0.02596,
"h": 120.5
},
"luminance": 0.20091
}Semantic roles & 50–950 ramp
primary
#797E6D
secondary
#A19FA8
accent
#78B088
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0D
muted
#7E7F7E