#9B8922 color
The hex color #9B8922 is a dark, moderate yellow.
In the RGB color model it is made of 60.8% red, 53.7% green and 13.3% blue (155, 137, 34).
Its hue angle is 51°, with 64% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 78% yellow and 39% black.
The closest named color is Captain Kirk (#9B870C), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6:1).
#9B8922 color codes
| HEX | #9B8922 | |
|---|---|---|
| RGB | rgb(155, 137, 34) | |
| RGB percent | rgb(60.8%, 53.7%, 13.3%) | |
| HSL | hsl(51, 64%, 37%) | |
| HSV / HSB | hsv(51, 78%, 61%) | |
| CMYK | cmyk(0%, 12%, 78%, 39%) | |
| CIE LAB | lab(57.05, -4.42, 53.69) | |
| CIE LCH | lch(57.05, 53.87, 94.71) | |
| CIE XYZ | xyz(22.753, 24.977, 5.136) | |
| Decimal | 10193186 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9B8922, 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 #9B8922 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6:1 | Pass | Fail | Pass |
| Sample text | 3.5:1 | Fail | Fail | Pass |
| #9B8922 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.5:1 | Fail | Fail | Pass |
| Sample text | 6: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 #9B8922 looks to people with the most common types of color vision deficiency.
#97850cProtanopia
no red cones#9c8c29Deuteranopia
no green cones#a87e75Tritanopia
no blue cones#898989Achromatopsia
no color vision
CSS examples
.background { background-color: #9b8922; }
.text { color: #9b8922; }
.border { border: 2px solid #9b8922; }
.transparent { background-color: rgb(155 137 34 / 50%); }
.gradient { background: linear-gradient(to right, #9b8922, #709b22); }
Similar colors
#9b870cCaptain Kirk#9d913cGecko#9a8d3fJalapeño#aa9922Greedy Gecko#ab8d3fLuxor Gold#aa8833Rich Gold#ab9a1cLucky#8c7f3cPeas Please
Closest common color name: Olive Green.
Questions
- What color is #9B8922?
- #9B8922 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 #9B8922?
- The RGB value is 155, 137, 34: 155 red, 137 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #9B8922?
- The complementary color is #22349B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9B8922?
- Black text. Black text has a contrast ratio of 6:1 and white text 3.5:1. WCAG asks for at least 4.5:1 for normal text.