#787D71#787D71
#787D71 is a mid, near-neutral grey. Relative luminance 0.199; OKLCH L 58.2% C 0.019 H 125.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #787D71 |
|---|---|
| RGB | rgb(120, 125, 113) |
| HSL | hsl(85, 5%, 47%) |
| HSV | hsv(85, 10%, 49%) |
| CMYK | cmyk(4%, 0%, 9.6%, 51%) |
| CIE-LAB | lab(51.67, -4.23, 5.90) |
| CIE-LCH | lch(51.67, 7.26, 125.66°) |
| OKLab | oklab(58.18% -0.011 0.0154) |
| OKLCH | oklch(58.18% 0.019 125.5) |
| XYZ | xyz(18.0595, 19.8525, 18.5001) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 5.18
Gray
#808080
ΔE00 7.49
Brown Grey
#8D8468
ΔE00 9.14
Flint
#6F7A80
ΔE00 9.74
Taupe
#8B7D6B
ΔE00 9.94
Grey
#929591
ΔE00 9.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787D71 #76717D
analogous
#7D7C71 #787D71 #727D71
triadic
#787D71 #71787D #7D7178
tetradic
#787D71 #717D7C #76717D #7D7172
square
#787D71 #717D7C #76717D #7D7172
split-complementary
#787D71 #71727D #7C717D
monochromatic
#3A3D37 #595D54 #787D71 #969B90 #B5B8B0
Accessibility & contrast
On white
4.22
#787D71 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#787D71 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787D71
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787D71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787D71 | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7B70
Deuteranopia (green-blind)
#7E7B71
Tritanopia (blue-blind)
#797C79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #787d71; /* rgb */ color: rgb(120, 125, 113); /* oklch */ color: oklch(58.2% 0.019 125.5);
Tailwind
colors: {
custom: {
50: '#9fa299',
500: '#787d71',
950: '#000000',
},
}SCSS
$custom: #787d71; $custom-light: #9fa299; $custom-dark: #000000;
JSON
{
"hex": "#787d71",
"rgb": {
"r": 120,
"g": 125,
"b": 113
},
"hsl": {
"h": 85,
"s": 5.042,
"l": 46.667
},
"oklch": {
"l": 0.58182,
"c": 0.01889,
"h": 125.5
},
"luminance": 0.19853
}Semantic roles & 50–950 ramp
primary
#787D71
secondary
#A4A2A8
accent
#7AAE90
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0E
muted
#7E7E7E