#797474#797474
#797474 is a mid, near-neutral grey. Relative luminance 0.178; OKLCH L 56.3% C 0.006 H 17.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #797474 |
|---|---|
| RGB | rgb(121, 116, 116) |
| HSL | hsl(0, 2%, 46%) |
| HSV | hsv(0, 4%, 47%) |
| CMYK | cmyk(0%, 4.1%, 4.1%, 52.5%) |
| CIE-LAB | lab(49.27, 1.92, 0.68) |
| CIE-LCH | lch(49.27, 2.03, 19.64°) |
| OKLab | oklab(56.34% 0.0059 0.0018) |
| OKLCH | oklch(56.34% 0.006 17.3) |
| XYZ | xyz(17.2825, 17.8168, 19.0481) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 5.10
Dimgray
#696969
ΔE00 5.48
Medium Grey
#7D7F7C
ΔE00 6.05
Flint
#6F7A80
ΔE00 8.47
Taupe
#8B7D6B
ΔE00 9.73
Warm Grey
#978A84
ΔE00 9.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797474 #747979
analogous
#797477 #797474 #797774
triadic
#797474 #747974 #747479
tetradic
#797474 #777974 #747979 #777479
square
#797474 #777974 #747979 #777479
split-complementary
#797474 #747977 #747779
monochromatic
#3B3838 #5A5656 #797474 #979393 #B5B2B2
Accessibility & contrast
On white
4.60
#797474 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#797474 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #797474
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797474 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797474 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#757574
Deuteranopia (green-blind)
#767574
Tritanopia (blue-blind)
#7A7474
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #797474; /* rgb */ color: rgb(121, 116, 116); /* oklch */ color: oklch(56.3% 0.006 17.3);
Tailwind
colors: {
custom: {
50: '#9f9c9c',
500: '#797474',
950: '#000000',
},
}SCSS
$custom: #797474; $custom-light: #9f9c9c; $custom-dark: #000000;
JSON
{
"hex": "#797474",
"rgb": {
"r": 121,
"g": 116,
"b": 116
},
"hsl": {
"h": 0,
"s": 2.11,
"l": 46.471
},
"oklch": {
"l": 0.56343,
"c": 0.00617,
"h": 17.3
},
"luminance": 0.17817
}Semantic roles & 50–950 ramp
primary
#797474
secondary
#A3A6A6
accent
#ABAB7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E