#797478#797478
#797478 is a mid, near-neutral grey. Relative luminance 0.179; OKLCH L 56.5% C 0.009 H 332.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #797478 |
|---|---|
| RGB | rgb(121, 116, 120) |
| HSL | hsl(312, 2%, 46%) |
| HSV | hsv(312, 4%, 47%) |
| CMYK | cmyk(0%, 4.1%, 0.8%, 52.5%) |
| CIE-LAB | lab(49.39, 2.71, -1.52) |
| CIE-LCH | lch(49.39, 3.10, 330.77°) |
| OKLab | oklab(56.47% 0.0076 -0.004) |
| OKLCH | oklch(56.47% 0.009 332.2) |
| XYZ | xyz(17.5202, 17.9119, 20.3000) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 5.74
Dimgray
#696969
ΔE00 6.25
Medium Grey
#7D7F7C
ΔE00 7.38
Flint
#6F7A80
ΔE00 8.53
Warm Grey
#978A84
ΔE00 10.52
Purplish Grey
#7A687F
ΔE00 10.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797478 #747975
analogous
#787479 #797478 #797476
triadic
#797478 #787974 #747879
tetradic
#797478 #797874 #747975 #747679
square
#797478 #797874 #747975 #747679
split-complementary
#797478 #767974 #747978
monochromatic
#3B383A #5A5659 #797478 #979396 #B5B2B5
Accessibility & contrast
On white
4.58
#797478 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#797478 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797478
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797478 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797478 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#747578
Deuteranopia (green-blind)
#757678
Tritanopia (blue-blind)
#7A7475
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #797478; /* rgb */ color: rgb(121, 116, 120); /* oklch */ color: oklch(56.5% 0.009 332.2);
Tailwind
colors: {
custom: {
50: '#9f9c9e',
500: '#797478',
950: '#000000',
},
}SCSS
$custom: #797478; $custom-light: #9f9c9e; $custom-dark: #000000;
JSON
{
"hex": "#797478",
"rgb": {
"r": 121,
"g": 116,
"b": 120
},
"hsl": {
"h": 312,
"s": 2.11,
"l": 46.471
},
"oklch": {
"l": 0.56472,
"c": 0.00857,
"h": 332.2
},
"luminance": 0.17912
}Semantic roles & 50–950 ramp
primary
#797478
secondary
#A3A6A4
accent
#AB867C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E