#787C86#787C86
#787C86 is a mid, near-neutral grey. Relative luminance 0.201; OKLCH L 58.6% C 0.016 H 268.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #787C86 |
|---|---|
| RGB | rgb(120, 124, 134) |
| HSL | hsl(223, 6%, 50%) |
| HSV | hsv(223, 10%, 53%) |
| CMYK | cmyk(10.4%, 7.5%, 0%, 47.5%) |
| CIE-LAB | lab(51.98, 0.63, -5.94) |
| CIE-LCH | lch(51.98, 5.97, 276.03°) |
| OKLab | oklab(58.63% -0.0004 -0.016) |
| OKLCH | oklch(58.63% 0.016 268.4) |
| XYZ | xyz(19.2555, 20.1294, 25.4205) |
| Luminance | 0.2013 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Flint
#6F7A80
ΔE00 4.91
Slate Gray
#708090
ΔE00 5.01
Gray
#808080
ΔE00 5.52
Steel
#738595
ΔE00 6.15
Battleship Grey
#6B7C85
ΔE00 6.22
Lightslategray
#778899
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C86 #868278
analogous
#788386 #787C86 #7B7886
triadic
#787C86 #86787C #7C8678
tetradic
#787C86 #867883 #868278 #78867B
square
#787C86 #867883 #868278 #78867B
split-complementary
#787C86 #867B78 #838678
monochromatic
#3E4045 #5B5E66 #787C86 #989BA3 #B9BBC0
Accessibility & contrast
On white
4.18
#787C86 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#787C86 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C86
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C86 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C86 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797D87
Deuteranopia (green-blind)
#787B86
Tritanopia (blue-blind)
#757E7F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #787c86; /* rgb */ color: rgb(120, 124, 134); /* oklch */ color: oklch(58.6% 0.016 268.4);
Tailwind
colors: {
custom: {
50: '#9fa1a9',
500: '#787c86',
950: '#000000',
},
}SCSS
$custom: #787c86; $custom-light: #9fa1a9; $custom-dark: #000000;
JSON
{
"hex": "#787c86",
"rgb": {
"r": 120,
"g": 124,
"b": 134
},
"hsl": {
"h": 222.857,
"s": 5.512,
"l": 49.804
},
"oklch": {
"l": 0.58626,
"c": 0.01597,
"h": 268.4
},
"luminance": 0.2013
}Semantic roles & 50–950 ramp
primary
#787C86
secondary
#B0AEAA
accent
#9F79AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F