#9A8B26 color
The hex color #9A8B26 is a dark, moderate yellow.
In the RGB color model it is made of 60.4% red, 54.5% green and 14.9% blue (154, 139, 38).
Its hue angle is 52°, with 60% saturation and 38% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 75% yellow and 40% black.
The closest named color is Captain Kirk (#9B870C), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.1:1).
#9A8B26 color codes
| HEX | #9A8B26 | |
|---|---|---|
| RGB | rgb(154, 139, 38) | |
| RGB percent | rgb(60.4%, 54.5%, 14.9%) | |
| HSL | hsl(52, 60%, 38%) | |
| HSV / HSB | hsv(52, 75%, 60%) | |
| CMYK | cmyk(0%, 10%, 75%, 40%) | |
| CIE LAB | lab(57.54, -5.8, 52.66) | |
| CIE LCH | lch(57.54, 52.98, 96.28) | |
| CIE XYZ | xyz(22.91, 25.476, 5.544) | |
| Decimal | 10128166 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9A8B26, 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 #9A8B26 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.1:1 | Pass | Fail | Pass |
| Sample text | 3.45:1 | Fail | Fail | Pass |
| #9A8B26 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.45:1 | Fail | Fail | Pass |
| Sample text | 6.1: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 #9A8B26 looks to people with the most common types of color vision deficiency.
#998713Protanopia
no red cones#9d8d2dDeuteranopia
no green cones#a68177Tritanopia
no blue cones#8a8a8aAchromatopsia
no color vision
CSS examples
.background { background-color: #9a8b26; }
.text { color: #9a8b26; }
.border { border: 2px solid #9a8b26; }
.transparent { background-color: rgb(154 139 38 / 50%); }
.gradient { background: linear-gradient(to right, #9a8b26, #6f9a26); }
Similar colors
#9b870cCaptain Kirk#9d913cGecko#9a8d3fJalapeño#aa9922Greedy Gecko#ab9a1cLucky#888738Witch Brew#a19250Backroom Ember#999911Papyrus
Closest common color name: Olive Green.
Questions
- What color is #9A8B26?
- #9A8B26 is a dark, moderate yellow, closest to the named color Captain Kirk. It belongs to the yellow family of colors.
- What is the RGB value of #9A8B26?
- The RGB value is 154, 139, 38: 154 red, 139 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #9A8B26?
- The complementary color is #26359A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9A8B26?
- Black text. Black text has a contrast ratio of 6.1:1 and white text 3.45:1. WCAG asks for at least 4.5:1 for normal text.