#787276#787276
#787276 is a mid, near-neutral grey. Relative luminance 0.173; OKLCH L 55.9% C 0.010 H 337.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #787276 |
|---|---|
| RGB | rgb(120, 114, 118) |
| HSL | hsl(320, 3%, 46%) |
| HSV | hsv(320, 5%, 47%) |
| CMYK | cmyk(0%, 5%, 1.7%, 52.9%) |
| CIE-LAB | lab(48.68, 3.10, -1.38) |
| CIE-LCH | lch(48.68, 3.39, 336.00°) |
| OKLab | oklab(55.88% 0.0088 -0.0036) |
| OKLCH | oklch(55.88% 0.01 337.6) |
| XYZ | xyz(17.0326, 17.3358, 19.5849) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 6.02
Gray
#808080
ΔE00 6.55
Medium Grey
#7D7F7C
ΔE00 8.10
Flint
#6F7A80
ΔE00 9.24
Purplish Grey
#7A687F
ΔE00 10.19
Purple Grey
#866F85
ΔE00 10.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787276 #727874
analogous
#777278 #787276 #787273
triadic
#787276 #767872 #727678
tetradic
#787276 #787772 #727874 #727378
square
#787276 #787772 #727874 #727378
split-complementary
#787276 #737872 #727877
monochromatic
#393638 #595457 #787276 #969195 #B4B0B3
Accessibility & contrast
On white
4.70
#787276 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#787276 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #787276
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##787276 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#727376
Deuteranopia (green-blind)
#737476
Tritanopia (blue-blind)
#797273
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #787276; /* rgb */ color: rgb(120, 114, 118); /* oklch */ color: oklch(55.9% 0.010 337.6);
Tailwind
colors: {
custom: {
50: '#9f9a9d',
500: '#787276',
950: '#000000',
},
}SCSS
$custom: #787276; $custom-light: #9f9a9d; $custom-dark: #000000;
JSON
{
"hex": "#787276",
"rgb": {
"r": 120,
"g": 114,
"b": 118
},
"hsl": {
"h": 320,
"s": 2.564,
"l": 45.882
},
"oklch": {
"l": 0.55876,
"c": 0.00951,
"h": 337.6
},
"luminance": 0.17336
}Semantic roles & 50–950 ramp
primary
#787276
secondary
#A1A5A2
accent
#AC8C7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E