#7E7A66 color
The hex color #7E7A66 is a grayish yellow.
In the RGB color model it is made of 49.4% red, 47.8% green and 40% blue (126, 122, 102).
Its hue angle is 50°, with 11% saturation and 45% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 19% yellow and 51% black.
The closest named color is Mangrove (#757461), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.86:1).
#7E7A66 color codes
| HEX | #7E7A66 | |
|---|---|---|
| RGB | rgb(126, 122, 102) | |
| RGB percent | rgb(49.4%, 47.8%, 40%) | |
| HSL | hsl(50, 11%, 45%) | |
| HSV / HSB | hsv(50, 19%, 49%) | |
| CMYK | cmyk(0%, 3%, 19%, 51%) | |
| CIE LAB | lab(51.05, -2.09, 11.52) | |
| CIE LCH | lch(51.05, 11.71, 100.29) | |
| CIE XYZ | xyz(17.962, 19.314, 15.35) | |
| Decimal | 8288870 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E7A66, 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 #7E7A66 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.86:1 | Pass | Fail | Pass |
| Sample text | 4.32:1 | Fail | Fail | Pass |
| #7E7A66 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.32:1 | Fail | Fail | Pass |
| Sample text | 4.86:1 | Pass | Fail | Pass |
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 #7E7A66 looks to people with the most common types of color vision deficiency.
#7e7965Protanopia
no red cones#7f7a67Deuteranopia
no green cones#827774Tritanopia
no blue cones#7a7a7aAchromatopsia
no color vision
CSS examples
.background { background-color: #7e7a66; }
.text { color: #7e7a66; }
.border { border: 2px solid #7e7a66; }
.transparent { background-color: rgb(126 122 102 / 50%); }
.gradient { background: linear-gradient(to right, #7e7a66, #767e66); }
Similar colors
#757461Mangrove#808069Warm Gray#747261Organic#8b846dAntique#7f735fHandmade#7f7755Boa#7e7466Bat Wing#737054Secret Path
Questions
- What color is #7E7A66?
- #7E7A66 is a grayish yellow, closest to the named color Mangrove. It belongs to the gray family of colors.
- What is the RGB value of #7E7A66?
- The RGB value is 126, 122, 102: 126 red, 122 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #7E7A66?
- The complementary color is #666A7E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E7A66?
- Black text. Black text has a contrast ratio of 4.86:1 and white text 4.32:1. WCAG asks for at least 4.5:1 for normal text.