#797E7A#797E7A
#797E7A is a mid, near-neutral grey. Relative luminance 0.204; OKLCH L 58.8% C 0.008 H 151.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #797E7A |
|---|---|
| RGB | rgb(121, 126, 122) |
| HSL | hsl(132, 2%, 48%) |
| HSV | hsv(132, 4%, 49%) |
| CMYK | cmyk(4%, 0%, 3.2%, 50.6%) |
| CIE-LAB | lab(52.28, -2.67, 1.53) |
| CIE-LCH | lch(52.28, 3.08, 150.30°) |
| OKLab | oklab(58.76% -0.0074 0.004) |
| OKLCH | oklch(58.76% 0.008 151.8) |
| XYZ | xyz(18.8582, 20.3917, 21.3511) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 1.87
Gray
#808080
ΔE00 4.12
Flint
#6F7A80
ΔE00 5.95
Steel Grey
#6F828A
ΔE00 7.58
Battleship Grey
#6B7C85
ΔE00 7.71
Grey
#929591
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E7A #7E797D
analogous
#7A7E79 #797E7A #797E7C
triadic
#797E7A #7A797E #7E7A79
tetradic
#797E7A #797A7E #7E797D #7E7C79
square
#797E7A #797A7E #7E797D #7E7C79
split-complementary
#797E7A #7C797E #7E797A
monochromatic
#3D403E #5B5F5C #797E7A #989C99 #B7BAB8
Accessibility & contrast
On white
4.14
#797E7A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#797E7A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E7A
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E7A | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7D7A
Deuteranopia (green-blind)
#7D7C7A
Tritanopia (blue-blind)
#787E7D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #797e7a; /* rgb */ color: rgb(121, 126, 122); /* oklch */ color: oklch(58.8% 0.008 151.8);
Tailwind
colors: {
custom: {
50: '#9fa3a0',
500: '#797e7a',
950: '#000000',
},
}SCSS
$custom: #797e7a; $custom-light: #9fa3a0; $custom-dark: #000000;
JSON
{
"hex": "#797e7a",
"rgb": {
"r": 121,
"g": 126,
"b": 122
},
"hsl": {
"h": 132,
"s": 2.024,
"l": 48.431
},
"oklch": {
"l": 0.5876,
"c": 0.00846,
"h": 151.8
},
"luminance": 0.20392
}Semantic roles & 50–950 ramp
primary
#797E7A
secondary
#ABA8AA
accent
#7DA2AB
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E