#7A786C#7A786C
#7A786C is a mid, near-neutral grey. Relative luminance 0.187; OKLCH L 57.1% C 0.018 H 99.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7A786C |
|---|---|
| RGB | rgb(122, 120, 108) |
| HSL | hsl(51, 6%, 45%) |
| HSV | hsv(51, 11%, 48%) |
| CMYK | cmyk(0%, 1.6%, 11.5%, 52.2%) |
| CIE-LAB | lab(50.28, -1.51, 6.86) |
| CIE-LCH | lch(50.28, 7.03, 102.44°) |
| OKLab | oklab(57.08% -0.0029 0.0179) |
| OKLCH | oklch(57.08% 0.018 99.2) |
| XYZ | xyz(17.4490, 18.6534, 16.8657) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 5.35
Taupe
#8B7D6B
ΔE00 6.80
Gray
#808080
ΔE00 7.03
Brownish Grey
#86775F
ΔE00 7.22
Brown Grey
#8D8468
ΔE00 7.98
Dimgray
#696969
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A786C #6C6E7A
analogous
#7A716C #7A786C #757A6C
triadic
#7A786C #6C7A78 #786C7A
tetradic
#7A786C #6C7A71 #6C6E7A #7A6C75
square
#7A786C #6C7A71 #6C6E7A #7A6C75
split-complementary
#7A786C #6C757A #716C7A
monochromatic
#393833 #5A584F #7A786C #98968B #B5B4AB
Accessibility & contrast
On white
4.44
#7A786C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#7A786C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A786C
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A786C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A786C | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B776B
Deuteranopia (green-blind)
#7B786C
Tritanopia (blue-blind)
#7C7675
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a786c; /* rgb */ color: rgb(122, 120, 108); /* oklch */ color: oklch(57.1% 0.018 99.2);
Tailwind
colors: {
custom: {
50: '#a09e96',
500: '#7a786c',
950: '#000000',
},
}SCSS
$custom: #7a786c; $custom-light: #a09e96; $custom-dark: #000000;
JSON
{
"hex": "#7a786c",
"rgb": {
"r": 122,
"g": 120,
"b": 108
},
"hsl": {
"h": 51.429,
"s": 6.087,
"l": 45.098
},
"oklch": {
"l": 0.57084,
"c": 0.01811,
"h": 99.2
},
"luminance": 0.18653
}Semantic roles & 50–950 ramp
primary
#7A786C
secondary
#9D9EA5
accent
#80AF79
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0E0E0D
muted
#7E7E7E