#797B86#797B86
#797B86 is a mid, near-neutral grey. Relative luminance 0.200; OKLCH L 58.5% C 0.017 H 277.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #797B86 |
|---|---|
| RGB | rgb(121, 123, 134) |
| HSL | hsl(231, 5%, 50%) |
| HSV | hsv(231, 10%, 53%) |
| CMYK | cmyk(9.7%, 8.2%, 0%, 47.5%) |
| CIE-LAB | lab(51.78, 1.57, -6.23) |
| CIE-LCH | lch(51.78, 6.42, 284.12°) |
| OKLab | oklab(58.49% 0.0023 -0.0167) |
| OKLCH | oklch(58.49% 0.017 277.7) |
| XYZ | xyz(19.2703, 19.9519, 25.3855) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 6.05
Slate Gray
#708090
ΔE00 6.09
Flint
#6F7A80
ΔE00 6.16
Steel
#738595
ΔE00 7.27
Lightslategray
#778899
ΔE00 7.45
Battleship Grey
#6B7C85
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B86 #868479
analogous
#798286 #797B86 #7D7986
triadic
#797B86 #86797B #7B8679
tetradic
#797B86 #867982 #868479 #79867D
square
#797B86 #867982 #868479 #79867D
split-complementary
#797B86 #867D79 #828679
monochromatic
#3F4046 #5C5D66 #797B86 #999BA3 #B9BAC0
Accessibility & contrast
On white
4.21
#797B86 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#797B86 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B86
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B86 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B86 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#787C87
Deuteranopia (green-blind)
#787B86
Tritanopia (blue-blind)
#767D7E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #797b86; /* rgb */ color: rgb(121, 123, 134); /* oklch */ color: oklch(58.5% 0.017 277.7);
Tailwind
colors: {
custom: {
50: '#9fa1a9',
500: '#797b86',
950: '#000000',
},
}SCSS
$custom: #797b86; $custom-light: #9fa1a9; $custom-dark: #000000;
JSON
{
"hex": "#797b86",
"rgb": {
"r": 121,
"g": 123,
"b": 134
},
"hsl": {
"h": 230.769,
"s": 5.098,
"l": 50
},
"oklch": {
"l": 0.58489,
"c": 0.01688,
"h": 277.7
},
"luminance": 0.19952
}Semantic roles & 50–950 ramp
primary
#797B86
secondary
#B0AFAA
accent
#A67AAE
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F