#787C7A#787C7A
#787C7A is a mid, near-neutral grey. Relative luminance 0.198; OKLCH L 58.2% C 0.006 H 164.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #787C7A |
|---|---|
| RGB | rgb(120, 124, 122) |
| HSL | hsl(150, 2%, 48%) |
| HSV | hsv(150, 3%, 49%) |
| CMYK | cmyk(3.2%, 0%, 1.6%, 51.4%) |
| CIE-LAB | lab(51.63, -1.90, 0.57) |
| CIE-LCH | lch(51.63, 1.99, 163.40°) |
| OKLab | oklab(58.23% -0.0055 0.0015) |
| OKLCH | oklch(58.23% 0.006 164.8) |
| XYZ | xyz(18.4656, 19.8134, 21.2601) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 1.69
Gray
#808080
ΔE00 3.34
Flint
#6F7A80
ΔE00 4.95
Battleship Grey
#6B7C85
ΔE00 6.96
Steel Grey
#6F828A
ΔE00 7.20
Dimgray
#696969
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C7A #7C787A
analogous
#787C78 #787C7A #787C7C
triadic
#787C7A #7A787C #7C7A78
tetradic
#787C7A #78787C #7C787A #7C7C78
square
#787C7A #78787C #7C787A #7C7C78
split-complementary
#787C7A #7C787C #7C7878
monochromatic
#3C3E3D #5A5D5B #787C7A #979A99 #B6B8B7
Accessibility & contrast
On white
4.23
#787C7A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#787C7A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C7A
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C7A | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7B7A
Deuteranopia (green-blind)
#7B7B7A
Tritanopia (blue-blind)
#777C7B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #787c7a; /* rgb */ color: rgb(120, 124, 122); /* oklch */ color: oklch(58.2% 0.006 164.8);
Tailwind
colors: {
custom: {
50: '#9fa1a0',
500: '#787c7a',
950: '#000000',
},
}SCSS
$custom: #787c7a; $custom-light: #9fa1a0; $custom-dark: #000000;
JSON
{
"hex": "#787c7a",
"rgb": {
"r": 120,
"g": 124,
"b": 122
},
"hsl": {
"h": 150,
"s": 1.639,
"l": 47.843
},
"oklch": {
"l": 0.58227,
"c": 0.00566,
"h": 164.8
},
"luminance": 0.19814
}Semantic roles & 50–950 ramp
primary
#787C7A
secondary
#A9A7A8
accent
#7D94AB
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0E
muted
#7E7E7E