#7D786F#7D786F
#7D786F is a mid, near-neutral grey. Relative luminance 0.189; OKLCH L 57.4% C 0.015 H 82.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7D786F |
|---|---|
| RGB | rgb(125, 120, 111) |
| HSL | hsl(39, 6%, 46%) |
| HSV | hsv(39, 11%, 49%) |
| CMYK | cmyk(0%, 4%, 11.2%, 51%) |
| CIE-LAB | lab(50.62, 0.21, 5.62) |
| CIE-LCH | lch(50.62, 5.63, 87.82°) |
| OKLab | oklab(57.44% 0.002 0.0147) |
| OKLCH | oklch(57.44% 0.015 82.4) |
| XYZ | xyz(18.0429, 18.9408, 17.7413) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 4.95
Taupe
#8B7D6B
ΔE00 5.64
Gray
#808080
ΔE00 5.79
Brownish Grey
#86775F
ΔE00 6.82
Dimgray
#696969
ΔE00 7.88
Brown Grey
#8D8468
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D786F #6F747D
analogous
#7D716F #7D786F #7B7D6F
triadic
#7D786F #6F7D78 #786F7D
tetradic
#7D786F #6F7D71 #6F747D #7D6F7B
square
#7D786F #6F7D71 #6F747D #7D6F7B
split-complementary
#7D786F #6F7B7D #716F7D
monochromatic
#3C3A35 #5D5952 #7D786F #9B968E #B8B4AF
Accessibility & contrast
On white
4.39
#7D786F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#7D786F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D786F
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D786F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D786F | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B786E
Deuteranopia (green-blind)
#7C796F
Tritanopia (blue-blind)
#807675
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d786f; /* rgb */ color: rgb(125, 120, 111); /* oklch */ color: oklch(57.4% 0.015 82.4);
Tailwind
colors: {
custom: {
50: '#a29e98',
500: '#7d786f',
950: '#000000',
},
}SCSS
$custom: #7d786f; $custom-light: #a29e98; $custom-dark: #000000;
JSON
{
"hex": "#7d786f",
"rgb": {
"r": 125,
"g": 120,
"b": 111
},
"hsl": {
"h": 38.571,
"s": 5.932,
"l": 46.275
},
"oklch": {
"l": 0.5744,
"c": 0.01484,
"h": 82.4
},
"luminance": 0.18941
}Semantic roles & 50–950 ramp
primary
#7D786F
secondary
#A0A3A8
accent
#8CAF79
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0D
muted
#7F7E7E