#797E76#797E76
#797E76 is a mid, near-neutral grey. Relative luminance 0.203; OKLCH L 58.6% C 0.013 H 133.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #797E76 |
|---|---|
| RGB | rgb(121, 126, 118) |
| HSL | hsl(98, 3%, 48%) |
| HSV | hsv(98, 6%, 49%) |
| CMYK | cmyk(4%, 0%, 6.3%, 50.6%) |
| CIE-LAB | lab(52.17, -3.46, 3.71) |
| CIE-LCH | lch(52.17, 5.07, 133.06°) |
| OKLab | oklab(58.64% -0.0092 0.0097) |
| OKLCH | oklch(58.64% 0.013 133.5) |
| XYZ | xyz(18.6155, 20.2946, 20.0726) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 3.38
Gray
#808080
ΔE00 5.75
Flint
#6F7A80
ΔE00 7.92
Grey
#929591
ΔE00 8.84
Steel Grey
#6F828A
ΔE00 9.34
Dimgray
#696969
ΔE00 9.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E76 #7B767E
analogous
#7D7E76 #797E76 #767E77
triadic
#797E76 #76797E #7E7679
tetradic
#797E76 #767D7E #7B767E #7E7776
square
#797E76 #767D7E #7B767E #7E7776
split-complementary
#797E76 #77767E #7E767D
monochromatic
#3C3F3B #5B5E58 #797E76 #989C95 #B7BAB5
Accessibility & contrast
On white
4.15
#797E76 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#797E76 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E76
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E76 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7D76
Deuteranopia (green-blind)
#7E7C76
Tritanopia (blue-blind)
#797D7C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #797e76; /* rgb */ color: rgb(121, 126, 118); /* oklch */ color: oklch(58.6% 0.013 133.5);
Tailwind
colors: {
custom: {
50: '#9fa39d',
500: '#797e76',
950: '#000000',
},
}SCSS
$custom: #797e76; $custom-light: #9fa39d; $custom-dark: #000000;
JSON
{
"hex": "#797e76",
"rgb": {
"r": 121,
"g": 126,
"b": 118
},
"hsl": {
"h": 97.5,
"s": 3.279,
"l": 47.843
},
"oklch": {
"l": 0.58639,
"c": 0.01336,
"h": 133.5
},
"luminance": 0.20295
}Semantic roles & 50–950 ramp
primary
#797E76
secondary
#A8A6AA
accent
#7BAC9A
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E