#797277#797277
#797277 is a mid, near-neutral grey. Relative luminance 0.174; OKLCH L 56.0% C 0.011 H 335.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #797277 |
|---|---|
| RGB | rgb(121, 114, 119) |
| HSL | hsl(317, 3%, 46%) |
| HSV | hsv(317, 6%, 47%) |
| CMYK | cmyk(0%, 5.8%, 1.7%, 52.5%) |
| CIE-LAB | lab(48.80, 3.68, -1.79) |
| CIE-LCH | lch(48.80, 4.09, 334.09°) |
| OKLab | oklab(56% 0.0104 -0.0047) |
| OKLCH | oklch(56% 0.011 335.7) |
| XYZ | xyz(17.2318, 17.4316, 19.9060) |
| Luminance | 0.1743 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 6.67
Gray
#808080
ΔE00 7.00
Medium Grey
#7D7F7C
ΔE00 8.76
Purplish Grey
#7A687F
ΔE00 9.51
Purple Grey
#866F85
ΔE00 9.77
Flint
#6F7A80
ΔE00 9.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797277 #727974
analogous
#777279 #797277 #797273
triadic
#797277 #777972 #727779
tetradic
#797277 #797772 #727974 #727379
square
#797277 #797772 #727974 #727379
split-complementary
#797277 #737972 #727977
monochromatic
#3A3739 #595458 #797277 #979195 #B5B0B4
Accessibility & contrast
On white
4.68
#797277 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#797277 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797277
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797277 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#727377
Deuteranopia (green-blind)
#737477
Tritanopia (blue-blind)
#7A7274
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #797277; /* rgb */ color: rgb(121, 114, 119); /* oklch */ color: oklch(56.0% 0.011 335.7);
Tailwind
colors: {
custom: {
50: '#9f9a9e',
500: '#797277',
950: '#000000',
},
}SCSS
$custom: #797277; $custom-light: #9f9a9e; $custom-dark: #000000;
JSON
{
"hex": "#797277",
"rgb": {
"r": 121,
"g": 114,
"b": 119
},
"hsl": {
"h": 317.143,
"s": 2.979,
"l": 46.078
},
"oklch": {
"l": 0.56,
"c": 0.01141,
"h": 335.7
},
"luminance": 0.17431
}Semantic roles & 50–950 ramp
primary
#797277
secondary
#A1A5A3
accent
#AC897C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E