#787E71#787E71
#787E71 is a mid, muted grey. Relative luminance 0.201; OKLCH L 58.4% C 0.021 H 127.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #787E71 |
|---|---|
| RGB | rgb(120, 126, 113) |
| HSL | hsl(88, 5%, 47%) |
| HSV | hsv(88, 10%, 49%) |
| CMYK | cmyk(4.8%, 0%, 10.3%, 50.6%) |
| CIE-LAB | lab(51.96, -4.80, 6.31) |
| CIE-LCH | lch(51.96, 7.93, 127.26°) |
| OKLab | oklab(58.41% -0.0125 0.0164) |
| OKLCH | oklch(58.41% 0.021 127.4) |
| XYZ | xyz(18.1867, 20.1070, 18.5425) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 5.73
Gray
#808080
ΔE00 8.04
Brown Grey
#8D8468
ΔE00 9.14
Grey
#929591
ΔE00 9.98
Flint
#6F7A80
ΔE00 10.20
Taupe
#8B7D6B
ΔE00 10.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E71 #77717E
analogous
#7E7E71 #787E71 #727E71
triadic
#787E71 #71787E #7E7178
tetradic
#787E71 #717E7E #77717E #7E7172
square
#787E71 #717E7E #77717E #7E7172
split-complementary
#787E71 #71727E #7E717E
monochromatic
#3B3D37 #595E54 #787E71 #979C90 #B5B9B1
Accessibility & contrast
On white
4.18
#787E71 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#787E71 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E71
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E71 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807C70
Deuteranopia (green-blind)
#7F7C72
Tritanopia (blue-blind)
#797D7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #787e71; /* rgb */ color: rgb(120, 126, 113); /* oklch */ color: oklch(58.4% 0.021 127.4);
Tailwind
colors: {
custom: {
50: '#9fa399',
500: '#787e71',
950: '#000000',
},
}SCSS
$custom: #787e71; $custom-light: #9fa399; $custom-dark: #000000;
JSON
{
"hex": "#787e71",
"rgb": {
"r": 120,
"g": 126,
"b": 113
},
"hsl": {
"h": 87.692,
"s": 5.439,
"l": 46.863
},
"oklch": {
"l": 0.58409,
"c": 0.02068,
"h": 127.4
},
"luminance": 0.20107
}Semantic roles & 50–950 ramp
primary
#787E71
secondary
#A5A2A9
accent
#79AF92
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E