#8A842C color
The hex color #8A842C is a dark, moderate yellow.
In the RGB color model it is made of 54.1% red, 51.8% green and 17.3% blue (138, 132, 44).
Its hue angle is 56°, with 52% saturation and 36% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 68% yellow and 46% black.
The closest named color is Witch Brew (#888738), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.42:1).
#8A842C color codes
| HEX | #8A842C | |
|---|---|---|
| RGB | rgb(138, 132, 44) | |
| RGB percent | rgb(54.1%, 51.8%, 17.3%) | |
| HSL | hsl(56, 52%, 36%) | |
| HSV / HSB | hsv(56, 68%, 54%) | |
| CMYK | cmyk(0%, 4%, 68%, 46%) | |
| CIE LAB | lab(54.12, -8.93, 46.37) | |
| CIE LCH | lch(54.12, 47.22, 100.9) | |
| CIE XYZ | xyz(19.188, 22.088, 5.635) | |
| Decimal | 9077804 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A842C, 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 #8A842C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.42:1 | Pass | Fail | Pass |
| Sample text | 3.88:1 | Fail | Fail | Pass |
| #8A842C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.88:1 | Fail | Fail | Pass |
| Sample text | 5.42: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 #8A842C looks to people with the most common types of color vision deficiency.
#8f7f20Protanopia
no red cones#928332Deuteranopia
no green cones#947b72Tritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #8a842c; }
.text { color: #8a842c; }
.border { border: 2px solid #8a842c; }
.transparent { background-color: rgb(138 132 44 / 50%); }
.gradient { background: linear-gradient(to right, #8a842c, #618a2c); }
Similar colors
#888738Witch Brew#828039Green Commando#808000Olive Green#808000Olive#8c7f3cPeas Please#888844Overgrown Citadel#9a8d3fJalapeño#938b4bNegishi Green
Questions
- What color is #8A842C?
- #8A842C is a dark, moderate yellow, closest to the named color Witch Brew. It belongs to the yellow family of colors.
- What is the RGB value of #8A842C?
- The RGB value is 138, 132, 44: 138 red, 132 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #8A842C?
- The complementary color is #2C328A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A842C?
- Black text. Black text has a contrast ratio of 5.42:1 and white text 3.88:1. WCAG asks for at least 4.5:1 for normal text.