#797472#797472
#797472 is a mid, near-neutral grey. Relative luminance 0.178; OKLCH L 56.3% C 0.007 H 43.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #797472 |
|---|---|
| RGB | rgb(121, 116, 114) |
| HSL | hsl(17, 3%, 46%) |
| HSV | hsv(17, 6%, 47%) |
| CMYK | cmyk(0%, 4.1%, 5.8%, 52.5%) |
| CIE-LAB | lab(49.22, 1.53, 1.79) |
| CIE-LCH | lch(49.22, 2.35, 49.46°) |
| OKLab | oklab(56.28% 0.005 0.0047) |
| OKLCH | oklch(56.28% 0.007 43.3) |
| XYZ | xyz(17.1674, 17.7708, 18.4420) |
| Luminance | 0.1777 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 5.13
Dimgray
#696969
ΔE00 5.41
Medium Grey
#7D7F7C
ΔE00 5.62
Flint
#6F7A80
ΔE00 8.60
Taupe
#8B7D6B
ΔE00 8.72
Warm Grey
#978A84
ΔE00 9.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797472 #727779
analogous
#797273 #797472 #797772
triadic
#797472 #727974 #747279
tetradic
#797472 #737972 #727779 #777279
square
#797472 #737972 #727779 #777279
split-complementary
#797472 #727977 #727379
monochromatic
#3A3837 #595654 #797472 #979391 #B5B2B0
Accessibility & contrast
On white
4.61
#797472 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#797472 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #797472
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797472 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797472 | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#757472
Deuteranopia (green-blind)
#767572
Tritanopia (blue-blind)
#7B7373
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #797472; /* rgb */ color: rgb(121, 116, 114); /* oklch */ color: oklch(56.3% 0.007 43.3);
Tailwind
colors: {
custom: {
50: '#9f9c9a',
500: '#797472',
950: '#000000',
},
}SCSS
$custom: #797472; $custom-light: #9f9c9a; $custom-dark: #000000;
JSON
{
"hex": "#797472",
"rgb": {
"r": 121,
"g": 116,
"b": 114
},
"hsl": {
"h": 17.143,
"s": 2.979,
"l": 46.078
},
"oklch": {
"l": 0.5628,
"c": 0.00691,
"h": 43.3
},
"luminance": 0.17771
}Semantic roles & 50–950 ramp
primary
#797472
secondary
#A1A4A5
accent
#9EAC7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E