#797E79#797E79
#797E79 is a mid, near-neutral grey. Relative luminance 0.204; OKLCH L 58.7% C 0.010 H 145.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #797E79 |
|---|---|
| RGB | rgb(121, 126, 121) |
| HSL | hsl(120, 2%, 48%) |
| HSV | hsv(120, 4%, 49%) |
| CMYK | cmyk(4%, 0%, 4%, 50.6%) |
| CIE-LAB | lab(52.25, -2.87, 2.07) |
| CIE-LCH | lch(52.25, 3.54, 144.23°) |
| OKLab | oklab(58.73% -0.0079 0.0054) |
| OKLCH | oklch(58.73% 0.01 145.4) |
| XYZ | xyz(18.7966, 20.3671, 21.0264) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 2.18
Gray
#808080
ΔE00 4.51
Flint
#6F7A80
ΔE00 6.44
Steel Grey
#6F828A
ΔE00 8.01
Battleship Grey
#6B7C85
ΔE00 8.19
Grey
#929591
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E79 #7E797E
analogous
#7B7E79 #797E79 #797E7B
triadic
#797E79 #79797E #7E7979
tetradic
#797E79 #797B7E #7E797E #7E7B79
square
#797E79 #797B7E #7E797E #7E7B79
split-complementary
#797E79 #7B797E #7E797B
monochromatic
#3D403D #5B5F5B #797E79 #989C98 #B7BAB7
Accessibility & contrast
On white
4.14
#797E79 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#797E79 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E79
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E79 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E79 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7D79
Deuteranopia (green-blind)
#7D7C79
Tritanopia (blue-blind)
#797E7C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #797e79; /* rgb */ color: rgb(121, 126, 121); /* oklch */ color: oklch(58.7% 0.010 145.4);
Tailwind
colors: {
custom: {
50: '#9fa39f',
500: '#797e79',
950: '#000000',
},
}SCSS
$custom: #797e79; $custom-light: #9fa39f; $custom-dark: #000000;
JSON
{
"hex": "#797e79",
"rgb": {
"r": 121,
"g": 126,
"b": 121
},
"hsl": {
"h": 120,
"s": 2.024,
"l": 48.431
},
"oklch": {
"l": 0.58729,
"c": 0.00957,
"h": 145.4
},
"luminance": 0.20367
}Semantic roles & 50–950 ramp
primary
#797E79
secondary
#ABA8AB
accent
#7DABAB
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E