#9E8F3A color
The hex color #9E8F3A is a desaturated yellow.
In the RGB color model it is made of 62% red, 56.1% green and 22.7% blue (158, 143, 58).
Its hue angle is 51°, with 46% saturation and 42% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 63% yellow and 38% black.
The closest named color is Gecko (#9D913C), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.44:1).
#9E8F3A color codes
| HEX | #9E8F3A | |
|---|---|---|
| RGB | rgb(158, 143, 58) | |
| RGB percent | rgb(62%, 56.1%, 22.7%) | |
| HSL | hsl(51, 46%, 42%) | |
| HSV / HSB | hsv(51, 63%, 62%) | |
| CMYK | cmyk(0%, 9%, 63%, 38%) | |
| CIE LAB | lab(59.18, -5.02, 46) | |
| CIE LCH | lch(59.18, 46.28, 96.23) | |
| CIE XYZ | xyz(24.688, 27.221, 7.956) | |
| Decimal | 10391354 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E8F3A, 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 #9E8F3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.44:1 | Pass | Fail | Pass |
| Sample text | 3.26:1 | Fail | Fail | Pass |
| #9E8F3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.26:1 | Fail | Fail | Pass |
| Sample text | 6.44: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 #9E8F3A looks to people with the most common types of color vision deficiency.
#9c8b30Protanopia
no red cones#a0913eDeuteranopia
no green cones#aa857dTritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #9e8f3a; }
.text { color: #9e8f3a; }
.border { border: 2px solid #9e8f3a; }
.transparent { background-color: rgb(158 143 58 / 50%); }
.gradient { background: linear-gradient(to right, #9e8f3a, #7b9e3a); }
Similar colors
#9d913cGecko#9a8d3fJalapeño#a19250Backroom Ember#a69a51Formosan Green#a79954Gremlin#a69151Salted Capers#938b4bNegishi Green#9b870cCaptain Kirk
Closest common color name: Olive Green.
Questions
- What color is #9E8F3A?
- #9E8F3A is a desaturated yellow, closest to the named color Gecko. It belongs to the yellow family of colors.
- What is the RGB value of #9E8F3A?
- The RGB value is 158, 143, 58: 158 red, 143 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #9E8F3A?
- The complementary color is #3A499E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E8F3A?
- Black text. Black text has a contrast ratio of 6.44:1 and white text 3.26:1. WCAG asks for at least 4.5:1 for normal text.