#797272#797272
#797272 is a mid, near-neutral grey. Relative luminance 0.173; OKLCH L 55.8% C 0.009 H 17.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #797272 |
|---|---|
| RGB | rgb(121, 114, 114) |
| HSL | hsl(0, 3%, 46%) |
| HSV | hsv(0, 6%, 47%) |
| CMYK | cmyk(0%, 5.8%, 5.8%, 52.5%) |
| CIE-LAB | lab(48.65, 2.70, 0.97) |
| CIE-LCH | lch(48.65, 2.87, 19.74°) |
| OKLab | oklab(55.84% 0.0083 0.0026) |
| OKLCH | oklch(55.84% 0.009 17.4) |
| XYZ | xyz(16.9394, 17.3146, 18.3660) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 5.60
Gray
#808080
ΔE00 6.21
Medium Grey
#7D7F7C
ΔE00 7.26
Flint
#6F7A80
ΔE00 9.70
Taupe
#8B7D6B
ΔE00 9.96
Warm Grey
#978A84
ΔE00 10.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797272 #727979
analogous
#797275 #797272 #797572
triadic
#797272 #727972 #727279
tetradic
#797272 #757972 #727979 #757279
square
#797272 #757972 #727979 #757279
split-complementary
#797272 #727975 #727579
monochromatic
#3A3737 #595454 #797272 #979191 #B5B0B0
Accessibility & contrast
On white
4.71
#797272 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#797272 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797272
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797272 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797272 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#737372
Deuteranopia (green-blind)
#757472
Tritanopia (blue-blind)
#7B7172
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #797272; /* rgb */ color: rgb(121, 114, 114); /* oklch */ color: oklch(55.8% 0.009 17.4);
Tailwind
colors: {
custom: {
50: '#9f9a9a',
500: '#797272',
950: '#000000',
},
}SCSS
$custom: #797272; $custom-light: #9f9a9a; $custom-dark: #000000;
JSON
{
"hex": "#797272",
"rgb": {
"r": 121,
"g": 114,
"b": 114
},
"hsl": {
"h": 0,
"s": 2.979,
"l": 46.078
},
"oklch": {
"l": 0.55838,
"c": 0.00869,
"h": 17.4
},
"luminance": 0.17314
}Semantic roles & 50–950 ramp
primary
#797272
secondary
#A1A5A5
accent
#ACAC7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E