#4D474C color
The hex color #4D474C is a dark gray.
In the RGB color model it is made of 30.2% red, 27.8% green and 29.8% blue (77, 71, 76).
Its hue angle is 310°, with 4% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 1% yellow and 70% black.
The closest named color is Matterhorn (#524B4B), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.05:1).
#4D474C color codes
| HEX | #4D474C | |
|---|---|---|
| RGB | rgb(77, 71, 76) | |
| RGB percent | rgb(30.2%, 27.8%, 29.8%) | |
| HSL | hsl(310, 4%, 29%) | |
| HSV / HSB | hsv(310, 8%, 30%) | |
| CMYK | cmyk(0%, 8%, 1%, 70%) | |
| CIE LAB | lab(30.89, 3.58, -2.08) | |
| CIE LCH | lch(30.89, 4.14, 329.82) | |
| CIE XYZ | xyz(6.618, 6.606, 7.763) | |
| Decimal | 5064524 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D474C, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #4D474C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.05:1 | Pass | Pass | Pass |
| #4D474C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.05:1 | Pass | Pass | Pass |
| Sample text | 2.32:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #4D474C looks to people with the most common types of color vision deficiency.
#47484cProtanopia
no red cones#48494cDeuteranopia
no green cones#4e4749Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #4d474c; }
.text { color: #4d474c; }
.border { border: 2px solid #4d474c; }
.transparent { background-color: rgb(77 71 76 / 50%); }
.gradient { background: linear-gradient(to right, #4d474c, #4d4749); }
Similar colors
#524b4bMatterhorn#525054Magnet#4a4747Dampened Black#534c4bOff the Beaten Path#463d3eBlack Truffle#4c4b4cShady Character#484753Gun Powder#3f3c43Tuxedo
Closest common color name: Graphite.
Questions
- What color is #4D474C?
- #4D474C is a dark gray, closest to the named color Matterhorn. It belongs to the gray family of colors.
- What is the RGB value of #4D474C?
- The RGB value is 77, 71, 76: 77 red, 71 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #4D474C?
- The complementary color is #474D48, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D474C?
- White text. Black text has a contrast ratio of 2.32:1 and white text 9.05:1. WCAG asks for at least 4.5:1 for normal text.