#4D5040 color
The hex color #4D5040 is a dark, grayish yellow-green.
In the RGB color model it is made of 30.2% red, 31.4% green and 25.1% blue (77, 80, 64).
Its hue angle is 71°, with 11% saturation and 28% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 20% yellow and 69% black.
The closest named color is Kelp (#4D503C), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.28:1).
#4D5040 color codes
| HEX | #4D5040 | |
|---|---|---|
| RGB | rgb(77, 80, 64) | |
| RGB percent | rgb(30.2%, 31.4%, 25.1%) | |
| HSL | hsl(71, 11%, 28%) | |
| HSV / HSB | hsv(71, 20%, 31%) | |
| CMYK | cmyk(4%, 0%, 20%, 69%) | |
| CIE LAB | lab(33.32, -4.46, 9.04) | |
| CIE LCH | lch(33.32, 10.08, 116.24) | |
| CIE XYZ | xyz(6.855, 7.685, 5.972) | |
| Decimal | 5066816 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D5040, 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 #4D5040 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.54:1 | Fail | Fail | Fail |
| Sample text | 8.28:1 | Pass | Pass | Pass |
| #4D5040 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.28:1 | Pass | Pass | Pass |
| Sample text | 2.54: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 #4D5040 looks to people with the most common types of color vision deficiency.
#524e3fProtanopia
no red cones#524e41Deuteranopia
no green cones#4f4e4cTritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #4d5040; }
.text { color: #4d5040; }
.border { border: 2px solid #4d5040; }
.transparent { background-color: rgb(77 80 64 / 50%); }
.gradient { background: linear-gradient(to right, #4d5040, #455040); }
Similar colors
#4d503cKelp#4e4b35Olive Leaf#444b43Ancient Pine#46473eHeavy Metal#4b5338Broccoli Green#4f4d32Jungle King#4e5a4aVerdant Hush#555d50Ebony
Questions
- What color is #4D5040?
- #4D5040 is a dark, grayish yellow-green, closest to the named color Kelp. It belongs to the gray family of colors.
- What is the RGB value of #4D5040?
- The RGB value is 77, 80, 64: 77 red, 80 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #4D5040?
- The complementary color is #434050, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D5040?
- White text. Black text has a contrast ratio of 2.54:1 and white text 8.28:1. WCAG asks for at least 4.5:1 for normal text.