#797F79#797F79
#797F79 is a mid, near-neutral grey. Relative luminance 0.206; OKLCH L 59.0% C 0.011 H 145.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #797F79 |
|---|---|
| RGB | rgb(121, 127, 121) |
| HSL | hsl(120, 2%, 49%) |
| HSV | hsv(120, 5%, 50%) |
| CMYK | cmyk(4.7%, 0%, 4.7%, 50.2%) |
| CIE-LAB | lab(52.54, -3.44, 2.48) |
| CIE-LCH | lch(52.54, 4.25, 144.19°) |
| OKLab | oklab(58.96% -0.0094 0.0065) |
| OKLCH | oklch(58.96% 0.011 145.4) |
| XYZ | xyz(18.9251, 20.6241, 21.0693) |
| Luminance | 0.2062 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 2.86
Gray
#808080
ΔE00 5.18
Flint
#6F7A80
ΔE00 6.95
Steel Grey
#6F828A
ΔE00 8.20
Grey
#929591
ΔE00 8.37
Battleship Grey
#6B7C85
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F79 #7F797F
analogous
#7C7F79 #797F79 #797F7C
triadic
#797F79 #79797F #7F7979
tetradic
#797F79 #797C7F #7F797F #7F7C79
square
#797F79 #797C7F #7F797F #7F7C79
split-complementary
#797F79 #7C797F #7F797C
monochromatic
#3D403D #5B605B #797F79 #989D98 #B8BBB8
Accessibility & contrast
On white
4.10
#797F79 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#797F79 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F79
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F79 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F79 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7E79
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#797F7D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #797f79; /* rgb */ color: rgb(121, 127, 121); /* oklch */ color: oklch(59.0% 0.011 145.4);
Tailwind
colors: {
custom: {
50: '#9fa49f',
500: '#797f79',
950: '#000000',
},
}SCSS
$custom: #797f79; $custom-light: #9fa49f; $custom-dark: #000000;
JSON
{
"hex": "#797f79",
"rgb": {
"r": 121,
"g": 127,
"b": 121
},
"hsl": {
"h": 120,
"s": 2.419,
"l": 48.627
},
"oklch": {
"l": 0.58955,
"c": 0.01148,
"h": 145.4
},
"luminance": 0.20624
}Semantic roles & 50–950 ramp
primary
#797F79
secondary
#ABA8AB
accent
#7CACAC
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E