#B9A015 color
The hex color #B9A015 is a moderate yellow.
In the RGB color model it is made of 72.5% red, 62.7% green and 8.2% blue (185, 160, 21).
Its hue angle is 51°, with 80% saturation and 40% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 89% yellow and 27% black.
The closest named color is Sunken Gold (#B29700), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.1:1).
#B9A015 color codes
| HEX | #B9A015 | |
|---|---|---|
| RGB | rgb(185, 160, 21) | |
| RGB percent | rgb(72.5%, 62.7%, 8.2%) | |
| HSL | hsl(51, 80%, 40%) | |
| HSV / HSB | hsv(51, 89%, 73%) | |
| CMYK | cmyk(0%, 14%, 89%, 27%) | |
| CIE LAB | lab(66.15, -3.67, 66.2) | |
| CIE LCH | lch(66.15, 66.3, 93.17) | |
| CIE XYZ | xyz(32.716, 35.512, 5.841) | |
| Decimal | 12165141 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B9A015, 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 #B9A015 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.1:1 | Pass | Pass | Pass |
| Sample text | 2.59:1 | Fail | Fail | Fail |
| #B9A015 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.1:1 | Pass | Pass | 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 #B9A015 looks to people with the most common types of color vision deficiency.
#b19c00Protanopia
no red cones#b8a423Deuteranopia
no green cones#c89388Tritanopia
no blue cones#a1a1a1Achromatopsia
no color vision
CSS examples
.background { background-color: #b9a015; }
.text { color: #b9a015; }
.border { border: 2px solid #b9a015; }
.transparent { background-color: rgb(185 160 21 / 50%); }
.gradient { background: linear-gradient(to right, #b9a015, #80b915); }
Similar colors
#b29700Sunken Gold#bda928Greenfinch#bea932Hey Pesto#c6aa2bHippie Trail#ab9a1cLucky#aa9922Greedy Gecko#bfac05Muddy Yellow#b59410Faint Gold
Closest common color name: Metallic Gold.
Questions
- What color is #B9A015?
- #B9A015 is a moderate yellow, closest to the named color Sunken Gold. It belongs to the yellow family of colors.
- What is the RGB value of #B9A015?
- The RGB value is 185, 160, 21: 185 red, 160 green and 21 blue on a 0 to 255 scale.
- What is the complementary color of #B9A015?
- The complementary color is #152EB9, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B9A015?
- Black text. Black text has a contrast ratio of 8.1:1 and white text 2.59:1. WCAG asks for at least 4.5:1 for normal text.