#8C7D2B color
The hex color #8C7D2B is a dark, moderate yellow.
In the RGB color model it is made of 54.9% red, 49% green and 16.9% blue (140, 125, 43).
Its hue angle is 51°, with 53% saturation and 36% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 69% yellow and 45% black.
The closest named color is Peas Please (#8C7F3C), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.08:1).
#8C7D2B color codes
| HEX | #8C7D2B | |
|---|---|---|
| RGB | rgb(140, 125, 43) | |
| RGB percent | rgb(54.9%, 49%, 16.9%) | |
| HSL | hsl(51, 53%, 36%) | |
| HSV / HSB | hsv(51, 69%, 55%) | |
| CMYK | cmyk(0%, 11%, 69%, 45%) | |
| CIE LAB | lab(52.31, -4.21, 44.99) | |
| CIE LCH | lch(52.31, 45.19, 95.35) | |
| CIE XYZ | xyz(18.586, 20.418, 5.247) | |
| Decimal | 9207083 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C7D2B, 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 #8C7D2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.08:1 | Pass | Fail | Pass |
| Sample text | 4.13:1 | Fail | Fail | Pass |
| #8C7D2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.13:1 | Fail | Fail | Pass |
| Sample text | 5.08: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 #8C7D2B looks to people with the most common types of color vision deficiency.
#897a20Protanopia
no red cones#8d7f30Deuteranopia
no green cones#97746cTritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #8c7d2b; }
.text { color: #8c7d2b; }
.border { border: 2px solid #8c7d2b; }
.transparent { background-color: rgb(140 125 43 / 50%); }
.gradient { background: linear-gradient(to right, #8c7d2b, #6a8c2b); }
Similar colors
#8c7f3cPeas Please#897a3eCapers#86793dBay Leaf#977b2fFernweh#828039Green Commando#888738Witch Brew#9a8d3fJalapeño#9b870cCaptain Kirk
Closest common color name: Olive Green.
Questions
- What color is #8C7D2B?
- #8C7D2B is a dark, moderate yellow, closest to the named color Peas Please. It belongs to the yellow family of colors.
- What is the RGB value of #8C7D2B?
- The RGB value is 140, 125, 43: 140 red, 125 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #8C7D2B?
- The complementary color is #2B3A8C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C7D2B?
- Black text. Black text has a contrast ratio of 5.08:1 and white text 4.13:1. WCAG asks for at least 4.5:1 for normal text.