#797274#797274
#797274 is a mid, near-neutral grey. Relative luminance 0.174; OKLCH L 55.9% C 0.009 H 358.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #797274 |
|---|---|
| RGB | rgb(121, 114, 116) |
| HSL | hsl(343, 3%, 46%) |
| HSV | hsv(343, 6%, 47%) |
| CMYK | cmyk(0%, 5.8%, 4.1%, 52.5%) |
| CIE-LAB | lab(48.71, 3.08, -0.14) |
| CIE-LCH | lch(48.71, 3.09, 357.47°) |
| OKLab | oklab(55.9% 0.0091 -0.0003) |
| OKLCH | oklch(55.9% 0.009 358.1) |
| XYZ | xyz(17.0544, 17.3607, 18.9721) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 5.91
Gray
#808080
ΔE00 6.41
Medium Grey
#7D7F7C
ΔE00 7.78
Flint
#6F7A80
ΔE00 9.70
Warm Grey
#978A84
ΔE00 10.47
Purplish Grey
#7A687F
ΔE00 10.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797274 #727977
analogous
#797277 #797274 #797372
triadic
#797274 #747972 #727479
tetradic
#797274 #777972 #727977 #737279
square
#797274 #777972 #727977 #737279
split-complementary
#797274 #727973 #727779
monochromatic
#3A3738 #595456 #797274 #979193 #B5B0B2
Accessibility & contrast
On white
4.70
#797274 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#797274 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797274
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797274 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#737374
Deuteranopia (green-blind)
#747474
Tritanopia (blue-blind)
#7A7273
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #797274; /* rgb */ color: rgb(121, 114, 116); /* oklch */ color: oklch(55.9% 0.009 358.1);
Tailwind
colors: {
custom: {
50: '#9f9a9c',
500: '#797274',
950: '#000000',
},
}SCSS
$custom: #797274; $custom-light: #9f9a9c; $custom-dark: #000000;
JSON
{
"hex": "#797274",
"rgb": {
"r": 121,
"g": 114,
"b": 116
},
"hsl": {
"h": 342.857,
"s": 2.979,
"l": 46.078
},
"oklch": {
"l": 0.55902,
"c": 0.00915,
"h": 358.1
},
"luminance": 0.17361
}Semantic roles & 50–950 ramp
primary
#797274
secondary
#A1A5A4
accent
#AC9E7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E