#797276#797276
#797276 is a mid, near-neutral grey. Relative luminance 0.174; OKLCH L 56.0% C 0.010 H 342.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #797276 |
|---|---|
| RGB | rgb(121, 114, 118) |
| HSL | hsl(326, 3%, 46%) |
| HSV | hsv(326, 6%, 47%) |
| CMYK | cmyk(0%, 5.8%, 2.5%, 52.5%) |
| CIE-LAB | lab(48.77, 3.48, -1.24) |
| CIE-LCH | lch(48.77, 3.69, 340.42°) |
| OKLab | oklab(55.97% 0.01 -0.0032) |
| OKLCH | oklch(55.97% 0.01 342) |
| XYZ | xyz(17.1720, 17.4077, 19.5914) |
| Luminance | 0.1741 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 6.38
Gray
#808080
ΔE00 6.78
Medium Grey
#7D7F7C
ΔE00 8.41
Flint
#6F7A80
ΔE00 9.80
Purplish Grey
#7A687F
ΔE00 9.94
Purple Grey
#866F85
ΔE00 10.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797276 #727975
analogous
#787279 #797276 #797272
triadic
#797276 #767972 #727679
tetradic
#797276 #797872 #727975 #727279
square
#797276 #797872 #727975 #727279
split-complementary
#797276 #727972 #727978
monochromatic
#3A3739 #595457 #797276 #979195 #B5B0B3
Accessibility & contrast
On white
4.69
#797276 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#797276 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797276
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797276 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#727376
Deuteranopia (green-blind)
#747476
Tritanopia (blue-blind)
#7A7273
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #797276; /* rgb */ color: rgb(121, 114, 118); /* oklch */ color: oklch(56.0% 0.010 342.0);
Tailwind
colors: {
custom: {
50: '#9f9a9d',
500: '#797276',
950: '#000000',
},
}SCSS
$custom: #797276; $custom-light: #9f9a9d; $custom-dark: #000000;
JSON
{
"hex": "#797276",
"rgb": {
"r": 121,
"g": 114,
"b": 118
},
"hsl": {
"h": 325.714,
"s": 2.979,
"l": 46.078
},
"oklch": {
"l": 0.55967,
"c": 0.01049,
"h": 342
},
"luminance": 0.17408
}Semantic roles & 50–950 ramp
primary
#797276
secondary
#A1A5A3
accent
#AC907C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E