#4C5042 color
The hex color #4C5042 is a dark, grayish yellow-green.
In the RGB color model it is made of 29.8% red, 31.4% green and 25.9% blue (76, 80, 66).
Its hue angle is 77°, with 10% saturation and 29% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 18% yellow and 69% black.
The closest named color is Kelp (#4D503C), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.29:1).
#4C5042 color codes
| HEX | #4C5042 | |
|---|---|---|
| RGB | rgb(76, 80, 66) | |
| RGB percent | rgb(29.8%, 31.4%, 25.9%) | |
| HSL | hsl(77, 10%, 29%) | |
| HSV / HSB | hsv(77, 17%, 31%) | |
| CMYK | cmyk(5%, 0%, 18%, 69%) | |
| CIE LAB | lab(33.28, -4.52, 7.72) | |
| CIE LCH | lch(33.28, 8.94, 120.33) | |
| CIE XYZ | xyz(6.832, 7.667, 6.273) | |
| Decimal | 5001282 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C5042, 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 #4C5042 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.53:1 | Fail | Fail | Fail |
| Sample text | 8.29:1 | Pass | Pass | Pass |
| #4C5042 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.29:1 | Pass | Pass | Pass |
| Sample text | 2.53: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 #4C5042 looks to people with the most common types of color vision deficiency.
#524e41Protanopia
no red cones#514e43Deuteranopia
no green cones#4d4e4cTritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #4c5042; }
.text { color: #4c5042; }
.border { border: 2px solid #4c5042; }
.transparent { background-color: rgb(76 80 66 / 50%); }
.gradient { background: linear-gradient(to right, #4c5042, #455042); }
Similar colors
#4d503cKelp#444b43Ancient Pine#46473eHeavy Metal#555d50Ebony#4e5a4aVerdant Hush#4e4b35Olive Leaf#424f3bHōjicha#3c463eDeep Forest
Questions
- What color is #4C5042?
- #4C5042 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 #4C5042?
- The RGB value is 76, 80, 66: 76 red, 80 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #4C5042?
- The complementary color is #464250, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C5042?
- White text. Black text has a contrast ratio of 2.53:1 and white text 8.29:1. WCAG asks for at least 4.5:1 for normal text.