#797176#797176
#797176 is a mid, near-neutral grey. Relative luminance 0.172; OKLCH L 55.7% C 0.012 H 339.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #797176 |
|---|---|
| RGB | rgb(121, 113, 118) |
| HSL | hsl(323, 3%, 46%) |
| HSV | hsv(323, 7%, 47%) |
| CMYK | cmyk(0%, 6.6%, 2.5%, 52.5%) |
| CIE-LAB | lab(48.49, 4.07, -1.65) |
| CIE-LCH | lch(48.49, 4.39, 337.95°) |
| OKLab | oklab(55.75% 0.0116 -0.0043) |
| OKLCH | oklch(55.75% 0.012 339.6) |
| XYZ | xyz(17.0599, 17.1834, 19.5540) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 6.80
Gray
#808080
ΔE00 7.51
Purplish Grey
#7A687F
ΔE00 9.18
Medium Grey
#7D7F7C
ΔE00 9.26
Purple Grey
#866F85
ΔE00 9.47
Flint
#6F7A80
ΔE00 10.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797176 #717974
analogous
#787179 #797176 #797172
triadic
#797176 #767971 #717679
tetradic
#797176 #797871 #717974 #717279
square
#797176 #797871 #717974 #717279
split-complementary
#797176 #727971 #717978
monochromatic
#3A3638 #595357 #797176 #979095 #B5B0B3
Accessibility & contrast
On white
4.73
#797176 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#797176 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797176
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797176 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#717276
Deuteranopia (green-blind)
#737476
Tritanopia (blue-blind)
#7A7173
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #797176; /* rgb */ color: rgb(121, 113, 118); /* oklch */ color: oklch(55.7% 0.012 339.6);
Tailwind
colors: {
custom: {
50: '#9f999d',
500: '#797176',
950: '#000000',
},
}SCSS
$custom: #797176; $custom-light: #9f999d; $custom-dark: #000000;
JSON
{
"hex": "#797176",
"rgb": {
"r": 121,
"g": 113,
"b": 118
},
"hsl": {
"h": 322.5,
"s": 3.419,
"l": 45.882
},
"oklch": {
"l": 0.55749,
"c": 0.01239,
"h": 339.6
},
"luminance": 0.17183
}Semantic roles & 50–950 ramp
primary
#797176
secondary
#A1A5A2
accent
#AD8E7B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E