#8B7900 color
The hex color #8B7900 is a dark, vivid yellow.
In the RGB color model it is made of 54.5% red, 47.5% green and 0% blue (139, 121, 0).
Its hue angle is 52°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 100% yellow and 45% black.
The closest named color is Captain Kirk (#9B870C), a difference of 5.4 ΔE.
Black text is the more readable choice on this background (contrast 4.83:1).
#8B7900 color codes
| HEX | #8B7900 | |
|---|---|---|
| RGB | rgb(139, 121, 0) | |
| RGB percent | rgb(54.5%, 47.5%, 0%) | |
| HSL | hsl(52, 100%, 27%) | |
| HSV / HSB | hsv(52, 100%, 55%) | |
| CMYK | cmyk(0%, 13%, 100%, 45%) | |
| CIE LAB | lab(50.88, -3.9, 56.43) | |
| CIE LCH | lch(50.88, 56.56, 93.96) | |
| CIE XYZ | xyz(17.486, 19.165, 2.778) | |
| Decimal | 9140480 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8B7900, 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 #8B7900 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.83:1 | Pass | Fail | Pass |
| Sample text | 4.35:1 | Fail | Fail | Pass |
| #8B7900 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.35:1 | Fail | Fail | Pass |
| Sample text | 4.83: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 #8B7900 looks to people with the most common types of color vision deficiency.
#877600Protanopia
no red cones#8b7c10Deuteranopia
no green cones#976f66Tritanopia
no blue cones#797979Achromatopsia
no color vision
CSS examples
.background { background-color: #8b7900; }
.text { color: #8b7900; }
.border { border: 2px solid #8b7900; }
.transparent { background-color: rgb(139 121 0 / 50%); }
.gradient { background: linear-gradient(to right, #8b7900, #578b00); }
Similar colors
#9b870cCaptain Kirk#808000Olive Green#808000Olive#977b2fFernweh#8c7f3cPeas Please#967217Glazed Chestnut#96711cPuma#886806Muddy Brown
Questions
- What color is #8B7900?
- #8B7900 is a dark, vivid yellow, closest to the named color Captain Kirk. It belongs to the yellow family of colors.
- What is the RGB value of #8B7900?
- The RGB value is 139, 121, 0: 139 red, 121 green and 0 blue on a 0 to 255 scale.
- What is the complementary color of #8B7900?
- The complementary color is #00128B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8B7900?
- Black text. Black text has a contrast ratio of 4.83:1 and white text 4.35:1. WCAG asks for at least 4.5:1 for normal text.