#798371#798371
#798371 is a mid, muted grey. Relative luminance 0.215; OKLCH L 59.6% C 0.029 H 131.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #798371 |
|---|---|
| RGB | rgb(121, 131, 113) |
| HSL | hsl(93, 7%, 48%) |
| HSV | hsv(93, 14%, 51%) |
| CMYK | cmyk(7.6%, 0%, 13.7%, 48.6%) |
| CIE-LAB | lab(53.48, -7.23, 8.49) |
| CIE-LCH | lch(53.48, 11.15, 130.41°) |
| OKLab | oklab(59.64% -0.0192 0.022) |
| OKLCH | oklch(59.64% 0.029 131.1) |
| XYZ | xyz(18.9816, 21.4897, 18.7675) |
| Luminance | 0.2149 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 8.32
Green Grey
#77926F
ΔE00 8.62
Brown Grey
#8D8468
ΔE00 9.36
Slate Green
#658D6D
ΔE00 9.94
Grey
#929591
ΔE00 10.45
Gray
#808080
ΔE00 10.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798371 #7B7183
analogous
#828371 #798371 #718372
triadic
#798371 #717983 #837179
tetradic
#798371 #718283 #7B7183 #837271
square
#798371 #718283 #7B7183 #837271
split-complementary
#798371 #727183 #837182
monochromatic
#3C4138 #5B6255 #798371 #98A091 #B7BCB2
Accessibility & contrast
On white
3.96
#798371 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#798371 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798371
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798371 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798371 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#858070
Deuteranopia (green-blind)
#837F72
Tritanopia (blue-blind)
#7A817E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #798371; /* rgb */ color: rgb(121, 131, 113); /* oklch */ color: oklch(59.6% 0.029 131.1);
Tailwind
colors: {
custom: {
50: '#9fa799',
500: '#798371',
950: '#000000',
},
}SCSS
$custom: #798371; $custom-light: #9fa799; $custom-dark: #000000;
JSON
{
"hex": "#798371",
"rgb": {
"r": 121,
"g": 131,
"b": 113
},
"hsl": {
"h": 93.333,
"s": 7.377,
"l": 47.843
},
"oklch": {
"l": 0.59635,
"c": 0.0292,
"h": 131.1
},
"luminance": 0.2149
}Semantic roles & 50–950 ramp
primary
#798371
secondary
#A8A3AC
accent
#77B097
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E