#4C504C#4C504C
#4C504C is a dark, near-neutral grey. Relative luminance 0.078; OKLCH L 42.6% C 0.008 H 145.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4C504C |
|---|---|
| RGB | rgb(76, 80, 76) |
| HSL | hsl(120, 3%, 31%) |
| HSV | hsv(120, 5%, 31%) |
| CMYK | cmyk(5%, 0%, 5%, 68.6%) |
| CIE-LAB | lab(33.55, -2.49, 1.80) |
| CIE-LCH | lch(33.55, 3.07, 144.19°) |
| OKLab | oklab(42.63% -0.0068 0.0047) |
| OKLCH | oklch(42.63% 0.008 145.4) |
| XYZ | xyz(7.1534, 7.7956, 7.9639) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal Grey
#3C4142
ΔE00 5.87
Charcoal (survey)
#343837
ΔE00 8.11
Onyx
#353839
ΔE00 8.49
Gunmetal (survey)
#536267
ΔE00 8.63
Dark Grey
#363737
ΔE00 8.68
Charcoal
#36454F
ΔE00 9.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C504C #504C50
analogous
#4E504C #4C504C #4C504E
triadic
#4C504C #4C4C50 #504C4C
tetradic
#4C504C #4C4E50 #504C50 #504E4C
square
#4C504C #4C4E50 #504C50 #504E4C
split-complementary
#4C504C #4E4C50 #504C4E
monochromatic
#101110 #2E312E #4C504C #6A6F6A #888E88
Accessibility & contrast
On white
8.21
#4C504C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#4C504C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C504C
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C504C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C504C | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#4F4F4C
Tritanopia (blue-blind)
#4C504F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4c504c; /* rgb */ color: rgb(76, 80, 76); /* oklch */ color: oklch(42.6% 0.008 145.4);
Tailwind
colors: {
custom: {
50: '#7e817e',
500: '#4c504c',
950: '#000000',
},
}SCSS
$custom: #4c504c; $custom-light: #7e817e; $custom-dark: #000000;
JSON
{
"hex": "#4c504c",
"rgb": {
"r": 76,
"g": 80,
"b": 76
},
"hsl": {
"h": 120,
"s": 2.564,
"l": 30.588
},
"oklch": {
"l": 0.42626,
"c": 0.0083,
"h": 145.4
},
"luminance": 0.07796
}Semantic roles & 50–950 ramp
primary
#4C504C
secondary
#7E7A7E
accent
#7CACAC
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#090A09
muted
#7B7C7B