#787A7A#787A7A
#787A7A is a mid, near-neutral grey. Relative luminance 0.193; OKLCH L 57.8% C 0.002 H 197.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #787A7A |
|---|---|
| RGB | rgb(120, 122, 122) |
| HSL | hsl(180, 1%, 47%) |
| HSV | hsv(180, 2%, 48%) |
| CMYK | cmyk(1.6%, 0%, 0%, 52.2%) |
| CIE-LAB | lab(51.06, -0.75, -0.26) |
| CIE-LCH | lch(51.06, 0.80, 199.33°) |
| OKLab | oklab(57.78% -0.0023 -0.0007) |
| OKLCH | oklch(57.78% 0.002 197) |
| XYZ | xyz(18.2175, 19.3172, 21.1774) |
| Luminance | 0.1932 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 2.57
Gray
#808080
ΔE00 2.73
Flint
#6F7A80
ΔE00 4.64
Dimgray
#696969
ΔE00 6.64
Battleship Grey
#6B7C85
ΔE00 6.87
Steel Grey
#6F828A
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A7A #7A7878
analogous
#787A79 #787A7A #78797A
triadic
#787A7A #7A787A #7A7A78
tetradic
#787A7A #79787A #7A7878 #797A78
square
#787A7A #79787A #7A7878 #797A78
split-complementary
#787A7A #7A7879 #7A7978
monochromatic
#3B3C3C #5A5B5B #787A7A #979898 #B6B7B7
Accessibility & contrast
On white
4.32
#787A7A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#787A7A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A7A
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A7A | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A7A7A
Deuteranopia (green-blind)
#79797A
Tritanopia (blue-blind)
#777A7A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787a7a; /* rgb */ color: rgb(120, 122, 122); /* oklch */ color: oklch(57.8% 0.002 197.0);
Tailwind
colors: {
custom: {
50: '#9fa0a0',
500: '#787a7a',
950: '#000000',
},
}SCSS
$custom: #787a7a; $custom-light: #9fa0a0; $custom-dark: #000000;
JSON
{
"hex": "#787a7a",
"rgb": {
"r": 120,
"g": 122,
"b": 122
},
"hsl": {
"h": 180,
"s": 0.826,
"l": 47.451
},
"oklch": {
"l": 0.57779,
"c": 0.00243,
"h": 197
},
"luminance": 0.19317
}Semantic roles & 50–950 ramp
primary
#787A7A
secondary
#A7A6A6
accent
#7E7EAA
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E