#9C8D34 color
The hex color #9C8D34 is a moderate yellow.
In the RGB color model it is made of 61.2% red, 55.3% green and 20.4% blue (156, 141, 52).
Its hue angle is 51°, with 50% saturation and 41% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 67% yellow and 39% black.
The closest named color is Gecko (#9D913C), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.27:1).
#9C8D34 color codes
| HEX | #9C8D34 | |
|---|---|---|
| RGB | rgb(156, 141, 52) | |
| RGB percent | rgb(61.2%, 55.3%, 20.4%) | |
| HSL | hsl(51, 50%, 41%) | |
| HSV / HSB | hsv(51, 67%, 61%) | |
| CMYK | cmyk(0%, 10%, 67%, 39%) | |
| CIE LAB | lab(58.38, -5.22, 47.82) | |
| CIE LCH | lch(58.38, 48.1, 96.23) | |
| CIE XYZ | xyz(23.856, 26.367, 7.081) | |
| Decimal | 10259764 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9C8D34, 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 #9C8D34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.27:1 | Pass | Fail | Pass |
| Sample text | 3.35:1 | Fail | Fail | Pass |
| #9C8D34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.35:1 | Fail | Fail | Pass |
| Sample text | 6.27: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 #9C8D34 looks to people with the most common types of color vision deficiency.
#9a8929Protanopia
no red cones#9e8f39Deuteranopia
no green cones#a8837aTritanopia
no blue cones#8c8c8cAchromatopsia
no color vision
CSS examples
.background { background-color: #9c8d34; }
.text { color: #9c8d34; }
.border { border: 2px solid #9c8d34; }
.transparent { background-color: rgb(156 141 52 / 50%); }
.gradient { background: linear-gradient(to right, #9c8d34, #779c34); }
Similar colors
#9d913cGecko#9a8d3fJalapeño#9b870cCaptain Kirk#a19250Backroom Ember#938b4bNegishi Green#a69a51Formosan Green#a69151Salted Capers#aa9922Greedy Gecko
Closest common color name: Olive Green.
Questions
- What color is #9C8D34?
- #9C8D34 is a moderate yellow, closest to the named color Gecko. It belongs to the yellow family of colors.
- What is the RGB value of #9C8D34?
- The RGB value is 156, 141, 52: 156 red, 141 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #9C8D34?
- The complementary color is #34439C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9C8D34?
- Black text. Black text has a contrast ratio of 6.27:1 and white text 3.35:1. WCAG asks for at least 4.5:1 for normal text.