#7B786F#7B786F
#7B786F is a mid, near-neutral grey. Relative luminance 0.188; OKLCH L 57.3% C 0.014 H 91.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7B786F |
|---|---|
| RGB | rgb(123, 120, 111) |
| HSL | hsl(45, 5%, 46%) |
| HSV | hsv(45, 10%, 48%) |
| CMYK | cmyk(0%, 2.4%, 9.8%, 51.8%) |
| CIE-LAB | lab(50.44, -0.57, 5.35) |
| CIE-LCH | lch(50.44, 5.38, 96.13°) |
| OKLab | oklab(57.26% -0.0004 0.014) |
| OKLCH | oklch(57.26% 0.014 91.6) |
| XYZ | xyz(17.7538, 18.7917, 17.7277) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 4.46
Gray
#808080
ΔE00 5.74
Taupe
#8B7D6B
ΔE00 6.49
Brownish Grey
#86775F
ΔE00 7.45
Dimgray
#696969
ΔE00 7.64
Brown Grey
#8D8468
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B786F #6F727B
analogous
#7B726F #7B786F #787B6F
triadic
#7B786F #6F7B78 #786F7B
tetradic
#7B786F #6F7B72 #6F727B #7B6F78
square
#7B786F #6F7B72 #6F727B #7B6F78
split-complementary
#7B786F #6F787B #726F7B
monochromatic
#3B3935 #5B5952 #7B786F #99968E #B6B4AE
Accessibility & contrast
On white
4.41
#7B786F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#7B786F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B786F
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B786F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B786F | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A776E
Deuteranopia (green-blind)
#7B786F
Tritanopia (blue-blind)
#7D7675
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7b786f; /* rgb */ color: rgb(123, 120, 111); /* oklch */ color: oklch(57.3% 0.014 91.6);
Tailwind
colors: {
custom: {
50: '#a19e98',
500: '#7b786f',
950: '#000000',
},
}SCSS
$custom: #7b786f; $custom-light: #a19e98; $custom-dark: #000000;
JSON
{
"hex": "#7b786f",
"rgb": {
"r": 123,
"g": 120,
"b": 111
},
"hsl": {
"h": 45,
"s": 5.128,
"l": 45.882
},
"oklch": {
"l": 0.57259,
"c": 0.014,
"h": 91.6
},
"luminance": 0.18792
}Semantic roles & 50–950 ramp
primary
#7B786F
secondary
#A0A1A6
accent
#87AE7A
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0D
muted
#7E7E7E