#797B79#797B79
#797B79 is a mid, near-neutral grey. Relative luminance 0.196; OKLCH L 58.1% C 0.004 H 145.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #797B79 |
|---|---|
| RGB | rgb(121, 123, 121) |
| HSL | hsl(120, 1%, 48%) |
| HSV | hsv(120, 2%, 48%) |
| CMYK | cmyk(1.6%, 0%, 1.6%, 51.8%) |
| CIE-LAB | lab(51.39, -1.15, 0.83) |
| CIE-LCH | lch(51.39, 1.42, 144.36°) |
| OKLab | oklab(58.06% -0.0032 0.0022) |
| OKLCH | oklch(58.06% 0.004 145.6) |
| XYZ | xyz(18.4187, 19.6113, 20.9005) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 1.63
Gray
#808080
ΔE00 2.83
Flint
#6F7A80
ΔE00 5.44
Dimgray
#696969
ΔE00 7.13
Battleship Grey
#6B7C85
ΔE00 7.59
Steel Grey
#6F828A
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B79 #7B797B
analogous
#7A7B79 #797B79 #797B7A
triadic
#797B79 #79797B #7B7979
tetradic
#797B79 #797A7B #7B797B #7B7A79
square
#797B79 #797A7B #7B797B #7B7A79
split-complementary
#797B79 #7A797B #7B797A
monochromatic
#3C3D3C #5B5C5B #797B79 #989998 #B7B8B7
Accessibility & contrast
On white
4.27
#797B79 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#797B79 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B79
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B79 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B79 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7B79
Deuteranopia (green-blind)
#7B7A79
Tritanopia (blue-blind)
#797B7A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797b79; /* rgb */ color: rgb(121, 123, 121); /* oklch */ color: oklch(58.1% 0.004 145.6);
Tailwind
colors: {
custom: {
50: '#9fa19f',
500: '#797b79',
950: '#000000',
},
}SCSS
$custom: #797b79; $custom-light: #9fa19f; $custom-dark: #000000;
JSON
{
"hex": "#797b79",
"rgb": {
"r": 121,
"g": 123,
"b": 121
},
"hsl": {
"h": 120,
"s": 0.82,
"l": 47.843
},
"oklch": {
"l": 0.58056,
"c": 0.00384,
"h": 145.6
},
"luminance": 0.19611
}Semantic roles & 50–950 ramp
primary
#797B79
secondary
#A8A7A8
accent
#7EAAAA
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E