#8C8229 color
The hex color #8C8229 is a dark, moderate yellow.
In the RGB color model it is made of 54.9% red, 51% green and 16.1% blue (140, 130, 41).
Its hue angle is 54°, with 55% saturation and 35% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 71% yellow and 45% black.
The closest named color is Witch Brew (#888738), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.34:1).
#8C8229 color codes
| HEX | #8C8229 | |
|---|---|---|
| RGB | rgb(140, 130, 41) | |
| RGB percent | rgb(54.9%, 51%, 16.1%) | |
| HSL | hsl(54, 55%, 35%) | |
| HSV / HSB | hsv(54, 71%, 55%) | |
| CMYK | cmyk(0%, 7%, 71%, 45%) | |
| CIE LAB | lab(53.71, -7.1, 47.28) | |
| CIE LCH | lch(53.71, 47.81, 98.54) | |
| CIE XYZ | xyz(19.199, 21.702, 5.275) | |
| Decimal | 9208361 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C8229, 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 #8C8229 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.34:1 | Pass | Fail | Pass |
| Sample text | 3.93:1 | Fail | Fail | Pass |
| #8C8229 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.93:1 | Fail | Fail | Pass |
| Sample text | 5.34: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 #8C8229 looks to people with the most common types of color vision deficiency.
#8e7e1cProtanopia
no red cones#91822fDeuteranopia
no green cones#977970Tritanopia
no blue cones#808080Achromatopsia
no color vision
CSS examples
.background { background-color: #8c8229; }
.text { color: #8c8229; }
.border { border: 2px solid #8c8229; }
.transparent { background-color: rgb(140 130 41 / 50%); }
.gradient { background: linear-gradient(to right, #8c8229, #658c29); }
Similar colors
#888738Witch Brew#8c7f3cPeas Please#828039Green Commando#808000Olive Green#808000Olive#9a8d3fJalapeño#9b870cCaptain Kirk#888844Overgrown Citadel
Questions
- What color is #8C8229?
- #8C8229 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 #8C8229?
- The RGB value is 140, 130, 41: 140 red, 130 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #8C8229?
- The complementary color is #29338C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C8229?
- Black text. Black text has a contrast ratio of 5.34:1 and white text 3.93:1. WCAG asks for at least 4.5:1 for normal text.