#4A5040 color
The hex color #4A5040 is a dark, grayish yellow-green.
In the RGB color model it is made of 29% red, 31.4% green and 25.1% blue (74, 80, 64).
Its hue angle is 82°, with 11% saturation and 28% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 20% yellow and 69% black.
The closest named color is Kelp (#4D503C), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.36:1).
#4A5040 color codes
| HEX | #4A5040 | |
|---|---|---|
| RGB | rgb(74, 80, 64) | |
| RGB percent | rgb(29%, 31.4%, 25.1%) | |
| HSL | hsl(82, 11%, 28%) | |
| HSV / HSB | hsv(82, 20%, 31%) | |
| CMYK | cmyk(7%, 0%, 20%, 69%) | |
| CIE LAB | lab(33.06, -5.75, 8.64) | |
| CIE LCH | lch(33.06, 10.38, 123.65) | |
| CIE XYZ | xyz(6.618, 7.563, 5.961) | |
| Decimal | 4870208 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4A5040, 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 #4A5040 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.51:1 | Fail | Fail | Fail |
| Sample text | 8.36:1 | Pass | Pass | Pass |
| #4A5040 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.36:1 | Pass | Pass | Pass |
| Sample text | 2.51: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 #4A5040 looks to people with the most common types of color vision deficiency.
#524e3fProtanopia
no red cones#514e41Deuteranopia
no green cones#4b4e4cTritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #4a5040; }
.text { color: #4a5040; }
.border { border: 2px solid #4a5040; }
.transparent { background-color: rgb(74 80 64 / 50%); }
.gradient { background: linear-gradient(to right, #4a5040, #425040); }
Similar colors
#4d503cKelp#424f3bHōjicha#4e5a4aVerdant Hush#444b43Ancient Pine#4b5338Broccoli Green#555d50Ebony#46473eHeavy Metal#3c463eDeep Forest
Questions
- What color is #4A5040?
- #4A5040 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 #4A5040?
- The RGB value is 74, 80, 64: 74 red, 80 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #4A5040?
- The complementary color is #464050, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4A5040?
- White text. Black text has a contrast ratio of 2.51:1 and white text 8.36:1. WCAG asks for at least 4.5:1 for normal text.