#4D474F#4D474F
#4D474F is a dark, near-neutral grey. Relative luminance 0.066; OKLCH L 40.7% C 0.015 H 317.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4D474F |
|---|---|
| RGB | rgb(77, 71, 79) |
| HSL | hsl(285, 5%, 29%) |
| HSV | hsv(285, 10%, 31%) |
| CMYK | cmyk(2.5%, 10.1%, 0%, 69%) |
| CIE-LAB | lab(30.99, 4.24, -3.86) |
| CIE-LCH | lch(30.99, 5.74, 317.69°) |
| OKLab | oklab(40.67% 0.0113 -0.0103) |
| OKLCH | oklch(40.67% 0.015 317.7) |
| XYZ | xyz(6.7249, 6.6488, 8.3247) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal Grey
#3C4142
ΔE00 9.13
Dark Grey
#363737
ΔE00 9.15
Onyx
#353839
ΔE00 9.52
Charcoal (survey)
#343837
ΔE00 10.73
Umber
#635147
ΔE00 11.32
Charcoal
#36454F
ΔE00 11.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D474F #494F47
analogous
#49474F #4D474F #4F474D
triadic
#4D474F #4F4D47 #474F4D
tetradic
#4D474F #4F4947 #494F47 #474D4F
square
#4D474F #4F4947 #494F47 #474D4F
split-complementary
#4D474F #4D4F47 #474F49
monochromatic
#100E10 #2E2A2F #4D474F #6C646F #8B828F
Accessibility & contrast
On white
9.01
#4D474F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4D474F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D474F
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D474F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D474F | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46494F
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#4D484A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4d474f; /* rgb */ color: rgb(77, 71, 79); /* oklch */ color: oklch(40.7% 0.015 317.7);
Tailwind
colors: {
custom: {
50: '#7e7a80',
500: '#4d474f',
950: '#000000',
},
}SCSS
$custom: #4d474f; $custom-light: #7e7a80; $custom-dark: #000000;
JSON
{
"hex": "#4d474f",
"rgb": {
"r": 77,
"g": 71,
"b": 79
},
"hsl": {
"h": 285,
"s": 5.333,
"l": 29.412
},
"oklch": {
"l": 0.40672,
"c": 0.01529,
"h": 317.7
},
"luminance": 0.06649
}Semantic roles & 50–950 ramp
primary
#4D474F
secondary
#777D74
accent
#AE7987
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C