#B4A022 color
The hex color #B4A022 is a moderate yellow.
In the RGB color model it is made of 70.6% red, 62.7% green and 13.3% blue (180, 160, 34).
Its hue angle is 52°, with 68% saturation and 42% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 81% yellow and 29% black.
The closest named color is Lucky (#AB9A1C), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.99:1).
#B4A022 color codes
| HEX | #B4A022 | |
|---|---|---|
| RGB | rgb(180, 160, 34) | |
| RGB percent | rgb(70.6%, 62.7%, 13.3%) | |
| HSL | hsl(52, 68%, 42%) | |
| HSV / HSB | hsv(52, 81%, 71%) | |
| CMYK | cmyk(0%, 11%, 81%, 29%) | |
| CIE LAB | lab(65.72, -5.55, 62.36) | |
| CIE LCH | lch(65.72, 62.61, 95.09) | |
| CIE XYZ | xyz(31.684, 34.962, 6.593) | |
| Decimal | 11837474 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B4A022, 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 #B4A022 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.99:1 | Pass | Pass | Pass |
| Sample text | 2.63:1 | Fail | Fail | Fail |
| #B4A022 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.63:1 | Fail | Fail | Fail |
| Sample text | 7.99: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 #B4A022 looks to people with the most common types of color vision deficiency.
#b09c00Protanopia
no red cones#b6a32cDeuteranopia
no green cones#c39389Tritanopia
no blue cones#a0a0a0Achromatopsia
no color vision
CSS examples
.background { background-color: #b4a022; }
.text { color: #b4a022; }
.border { border: 2px solid #b4a022; }
.transparent { background-color: rgb(180 160 34 / 50%); }
.gradient { background: linear-gradient(to right, #b4a022, #7fb422); }
Similar colors
#ab9a1cLucky#aea132Martian#aa9922Greedy Gecko#bda928Greenfinch#bea932Hey Pesto#b29700Sunken Gold#b5a642Brass#c6aa2bHippie Trail
Closest common color name: Metallic Gold.
Questions
- What color is #B4A022?
- #B4A022 is a moderate yellow, closest to the named color Lucky. It belongs to the yellow family of colors.
- What is the RGB value of #B4A022?
- The RGB value is 180, 160, 34: 180 red, 160 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #B4A022?
- The complementary color is #2236B4, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B4A022?
- Black text. Black text has a contrast ratio of 7.99:1 and white text 2.63:1. WCAG asks for at least 4.5:1 for normal text.