#8E7F31 color
The hex color #8E7F31 is a dark, desaturated yellow.
In the RGB color model it is made of 55.7% red, 49.8% green and 19.2% blue (142, 127, 49).
Its hue angle is 50°, with 49% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 65% yellow and 44% black.
The closest named color is Peas Please (#8C7F3C), a difference of 2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.23:1).
#8E7F31 color codes
| HEX | #8E7F31 | |
|---|---|---|
| RGB | rgb(142, 127, 49) | |
| RGB percent | rgb(55.7%, 49.8%, 19.2%) | |
| HSL | hsl(50, 49%, 37%) | |
| HSV / HSB | hsv(50, 65%, 56%) | |
| CMYK | cmyk(0%, 11%, 65%, 44%) | |
| CIE LAB | lab(53.12, -4.03, 43.18) | |
| CIE LCH | lch(53.12, 43.37, 95.33) | |
| CIE XYZ | xyz(19.3, 21.152, 5.971) | |
| Decimal | 9338673 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8E7F31, 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 #8E7F31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.23:1 | Pass | Fail | Pass |
| Sample text | 4.02:1 | Fail | Fail | Pass |
| #8E7F31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.02:1 | Fail | Fail | Pass |
| Sample text | 5.23: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 #8E7F31 looks to people with the most common types of color vision deficiency.
#8b7c28Protanopia
no red cones#8f8135Deuteranopia
no green cones#99766eTritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #8e7f31; }
.text { color: #8e7f31; }
.border { border: 2px solid #8e7f31; }
.transparent { background-color: rgb(142 127 49 / 50%); }
.gradient { background: linear-gradient(to right, #8e7f31, #6f8e31); }
Similar colors
#8c7f3cPeas Please#897a3eCapers#86793dBay Leaf#977b2fFernweh#828039Green Commando#888738Witch Brew#9a8d3fJalapeño#8d844dRural Green
Closest common color name: Olive Green.
Questions
- What color is #8E7F31?
- #8E7F31 is a dark, desaturated yellow, closest to the named color Peas Please. It belongs to the yellow family of colors.
- What is the RGB value of #8E7F31?
- The RGB value is 142, 127, 49: 142 red, 127 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #8E7F31?
- The complementary color is #31408E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8E7F31?
- Black text. Black text has a contrast ratio of 5.23:1 and white text 4.02:1. WCAG asks for at least 4.5:1 for normal text.