#797E72#797E72
#797E72 is a mid, near-neutral grey. Relative luminance 0.202; OKLCH L 58.5% C 0.019 H 125.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #797E72 |
|---|---|
| RGB | rgb(121, 126, 114) |
| HSL | hsl(85, 5%, 47%) |
| HSV | hsv(85, 10%, 49%) |
| CMYK | cmyk(4%, 0%, 9.5%, 50.6%) |
| CIE-LAB | lab(52.06, -4.23, 5.89) |
| CIE-LCH | lch(52.06, 7.25, 125.67°) |
| OKLab | oklab(58.52% -0.011 0.0154) |
| OKLCH | oklch(58.52% 0.019 125.5) |
| XYZ | xyz(18.3828, 20.2015, 18.8472) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 5.09
Gray
#808080
ΔE00 7.39
Brown Grey
#8D8468
ΔE00 9.00
Grey
#929591
ΔE00 9.60
Flint
#6F7A80
ΔE00 9.79
Taupe
#8B7D6B
ΔE00 9.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E72 #77727E
analogous
#7E7D72 #797E72 #737E72
triadic
#797E72 #72797E #7E7279
tetradic
#797E72 #727E7D #77727E #7E7273
square
#797E72 #727E7D #77727E #7E7273
split-complementary
#797E72 #72737E #7D727E
monochromatic
#3B3E38 #5A5E55 #797E72 #979C91 #B6B9B2
Accessibility & contrast
On white
4.17
#797E72 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#797E72 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E72
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E72 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E72 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807C71
Deuteranopia (green-blind)
#7F7C72
Tritanopia (blue-blind)
#7A7D7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #797e72; /* rgb */ color: rgb(121, 126, 114); /* oklch */ color: oklch(58.5% 0.019 125.5);
Tailwind
colors: {
custom: {
50: '#9fa39a',
500: '#797e72',
950: '#000000',
},
}SCSS
$custom: #797e72; $custom-light: #9fa39a; $custom-dark: #000000;
JSON
{
"hex": "#797e72",
"rgb": {
"r": 121,
"g": 126,
"b": 114
},
"hsl": {
"h": 85,
"s": 5,
"l": 47.059
},
"oklch": {
"l": 0.58522,
"c": 0.01887,
"h": 125.5
},
"luminance": 0.20202
}Semantic roles & 50–950 ramp
primary
#797E72
secondary
#A5A3A9
accent
#7AAE90
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E