#9F8D20 color
The hex color #9F8D20 is a dark, moderate yellow.
In the RGB color model it is made of 62.4% red, 55.3% green and 12.5% blue (159, 141, 32).
Its hue angle is 51°, with 66% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 80% yellow and 38% black.
The closest named color is Captain Kirk (#9B870C), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.3:1).
#9F8D20 color codes
| HEX | #9F8D20 | |
|---|---|---|
| RGB | rgb(159, 141, 32) | |
| RGB percent | rgb(62.4%, 55.3%, 12.5%) | |
| HSL | hsl(51, 66%, 37%) | |
| HSV / HSB | hsv(51, 80%, 62%) | |
| CMYK | cmyk(0%, 11%, 80%, 38%) | |
| CIE LAB | lab(58.53, -4.86, 55.86) | |
| CIE LCH | lch(58.53, 56.07, 94.97) | |
| CIE XYZ | xyz(24.085, 26.526, 5.218) | |
| Decimal | 10456352 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9F8D20, 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 #9F8D20 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.3:1 | Pass | Fail | Pass |
| Sample text | 3.33:1 | Fail | Fail | Pass |
| #9F8D20 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.33:1 | Fail | Fail | Pass |
| Sample text | 6.3: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 #9F8D20 looks to people with the most common types of color vision deficiency.
#9c8903Protanopia
no red cones#a09028Deuteranopia
no green cones#ac8279Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #9f8d20; }
.text { color: #9f8d20; }
.border { border: 2px solid #9f8d20; }
.transparent { background-color: rgb(159 141 32 / 50%); }
.gradient { background: linear-gradient(to right, #9f8d20, #729f20); }
Similar colors
#9b870cCaptain Kirk#9d913cGecko#aa9922Greedy Gecko#9a8d3fJalapeño#ab9a1cLucky#b29700Sunken Gold#b59410Faint Gold#ab8d3fLuxor Gold
Closest common color name: Olive Green.
Questions
- What color is #9F8D20?
- #9F8D20 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 #9F8D20?
- The RGB value is 159, 141, 32: 159 red, 141 green and 32 blue on a 0 to 255 scale.
- What is the complementary color of #9F8D20?
- The complementary color is #20329F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9F8D20?
- Black text. Black text has a contrast ratio of 6.3:1 and white text 3.33:1. WCAG asks for at least 4.5:1 for normal text.