#798271#798271
#798271 is a mid, muted grey. Relative luminance 0.212; OKLCH L 59.4% C 0.027 H 130.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #798271 |
|---|---|
| RGB | rgb(121, 130, 113) |
| HSL | hsl(92, 7%, 48%) |
| HSV | hsv(92, 13%, 51%) |
| CMYK | cmyk(6.9%, 0%, 13.1%, 49%) |
| CIE-LAB | lab(53.19, -6.67, 8.08) |
| CIE-LCH | lch(53.19, 10.48, 129.54°) |
| OKLab | oklab(59.41% -0.0176 0.021) |
| OKLCH | oklch(59.41% 0.027 130.1) |
| XYZ | xyz(18.8479, 21.2224, 18.7229) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 7.76
Brown Grey
#8D8468
ΔE00 9.17
Green Grey
#77926F
ΔE00 9.26
Gray
#808080
ΔE00 9.97
Grey
#929591
ΔE00 10.27
Slate Green
#658D6D
ΔE00 10.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798271 #7A7182
analogous
#818271 #798271 #718271
triadic
#798271 #717982 #827179
tetradic
#798271 #718182 #7A7182 #827171
square
#798271 #718182 #7A7182 #827171
split-complementary
#798271 #717182 #827181
monochromatic
#3C4138 #5B6155 #798271 #989F91 #B6BCB2
Accessibility & contrast
On white
4.00
#798271 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#798271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798271
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798271 | 1.00 | 4.00 | 5.24 | 5.24 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847F70
Deuteranopia (green-blind)
#827F72
Tritanopia (blue-blind)
#7A807D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #798271; /* rgb */ color: rgb(121, 130, 113); /* oklch */ color: oklch(59.4% 0.027 130.1);
Tailwind
colors: {
custom: {
50: '#9fa699',
500: '#798271',
950: '#000000',
},
}SCSS
$custom: #798271; $custom-light: #9fa699; $custom-dark: #000000;
JSON
{
"hex": "#798271",
"rgb": {
"r": 121,
"g": 130,
"b": 113
},
"hsl": {
"h": 91.765,
"s": 6.996,
"l": 47.647
},
"oklch": {
"l": 0.59406,
"c": 0.0274,
"h": 130.1
},
"luminance": 0.21222
}Semantic roles & 50–950 ramp
primary
#798271
secondary
#A8A3AC
accent
#78B096
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E