#8B7F2F color
The hex color #8B7F2F is a dark, desaturated yellow.
In the RGB color model it is made of 54.5% red, 49.8% green and 18.4% blue (139, 127, 47).
Its hue angle is 52°, with 49% saturation and 36% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 66% yellow and 45% black.
The closest named color is Peas Please (#8C7F3C), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.17:1).
#8B7F2F color codes
| HEX | #8B7F2F | |
|---|---|---|
| RGB | rgb(139, 127, 47) | |
| RGB percent | rgb(54.5%, 49.8%, 18.4%) | |
| HSL | hsl(52, 49%, 36%) | |
| HSV / HSB | hsv(52, 66%, 55%) | |
| CMYK | cmyk(0%, 9%, 66%, 45%) | |
| CIE LAB | lab(52.81, -5.53, 43.69) | |
| CIE LCH | lch(52.81, 44.04, 97.21) | |
| CIE XYZ | xyz(18.751, 20.874, 5.73) | |
| Decimal | 9142063 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8B7F2F, 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 #8B7F2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.17:1 | Pass | Fail | Pass |
| Sample text | 4.06:1 | Fail | Fail | Pass |
| #8B7F2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.06:1 | Fail | Fail | Pass |
| Sample text | 5.17: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 #8B7F2F looks to people with the most common types of color vision deficiency.
#8b7b25Protanopia
no red cones#8e8033Deuteranopia
no green cones#96766eTritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #8b7f2f; }
.text { color: #8b7f2f; }
.border { border: 2px solid #8b7f2f; }
.transparent { background-color: rgb(139 127 47 / 50%); }
.gradient { background: linear-gradient(to right, #8b7f2f, #698b2f); }
Similar colors
#8c7f3cPeas Please#828039Green Commando#897a3eCapers#86793dBay Leaf#888738Witch Brew#9a8d3fJalapeño#8d844dRural Green#888844Overgrown Citadel
Closest common color name: Olive Green.
Questions
- What color is #8B7F2F?
- #8B7F2F 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 #8B7F2F?
- The RGB value is 139, 127, 47: 139 red, 127 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #8B7F2F?
- The complementary color is #2F3B8B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8B7F2F?
- Black text. Black text has a contrast ratio of 5.17:1 and white text 4.06:1. WCAG asks for at least 4.5:1 for normal text.