#798474#798474
#798474 is a mid, muted grey. Relative luminance 0.218; OKLCH L 59.9% C 0.027 H 135.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #798474 |
|---|---|
| RGB | rgb(121, 132, 116) |
| HSL | hsl(101, 6%, 49%) |
| HSV | hsv(101, 12%, 52%) |
| CMYK | cmyk(8.3%, 0%, 12.1%, 48.2%) |
| CIE-LAB | lab(53.84, -7.23, 7.27) |
| CIE-LCH | lch(53.84, 10.25, 134.83°) |
| OKLab | oklab(59.95% -0.0194 0.0189) |
| OKLCH | oklch(59.95% 0.027 135.8) |
| XYZ | xyz(19.2882, 21.8283, 19.7167) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 7.91
Green Grey
#77926F
ΔE00 8.80
Grey
#929591
ΔE00 9.88
Brown Grey
#8D8468
ΔE00 9.93
Slate Green
#658D6D
ΔE00 10.00
Gray
#808080
ΔE00 10.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798474 #7F7484
analogous
#818474 #798474 #748477
triadic
#798474 #747984 #847479
tetradic
#798474 #748184 #7F7484 #847774
square
#798474 #748184 #7F7484 #847774
split-complementary
#798474 #777484 #847481
monochromatic
#3D433B #5B6357 #798474 #98A194 #B8BEB5
Accessibility & contrast
On white
3.91
#798474 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#798474 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798474
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798474 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#858173
Deuteranopia (green-blind)
#848075
Tritanopia (blue-blind)
#79837F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #798474; /* rgb */ color: rgb(121, 132, 116); /* oklch */ color: oklch(59.9% 0.027 135.8);
Tailwind
colors: {
custom: {
50: '#9fa79c',
500: '#798474',
950: '#000000',
},
}SCSS
$custom: #798474; $custom-light: #9fa79c; $custom-dark: #000000;
JSON
{
"hex": "#798474",
"rgb": {
"r": 121,
"g": 132,
"b": 116
},
"hsl": {
"h": 101.25,
"s": 6.452,
"l": 48.627
},
"oklch": {
"l": 0.59947,
"c": 0.02708,
"h": 135.8
},
"luminance": 0.21828
}Semantic roles & 50–950 ramp
primary
#798474
secondary
#ABA6AE
accent
#78B09E
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E