#B2A252 color
The hex color #B2A252 is a desaturated yellow.
In the RGB color model it is made of 69.8% red, 63.5% green and 32.2% blue (178, 162, 82).
Its hue angle is 50°, with 38% saturation and 51% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 54% yellow and 30% black.
The closest named color is Pickled (#B3A74B), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.18:1).
#B2A252 color codes
| HEX | #B2A252 | |
|---|---|---|
| RGB | rgb(178, 162, 82) | |
| RGB percent | rgb(69.8%, 63.5%, 32.2%) | |
| HSL | hsl(50, 38%, 51%) | |
| HSV / HSB | hsv(50, 54%, 70%) | |
| CMYK | cmyk(0%, 9%, 54%, 30%) | |
| CIE LAB | lab(66.46, -4.69, 43.22) | |
| CIE LCH | lch(66.46, 43.47, 96.19) | |
| CIE XYZ | xyz(32.805, 35.916, 13.186) | |
| Decimal | 11706962 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B2A252, 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 #B2A252 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.18:1 | Pass | Pass | Pass |
| Sample text | 2.57:1 | Fail | Fail | Fail |
| #B2A252 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.18: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 #B2A252 looks to people with the most common types of color vision deficiency.
#af9e4bProtanopia
no red cones#b4a456Deuteranopia
no green cones#be9890Tritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #b2a252; }
.text { color: #b2a252; }
.border { border: 2px solid #b2a252; }
.transparent { background-color: rgb(178 162 82 / 50%); }
.gradient { background: linear-gradient(to right, #b2a252, #92b252); }
Similar colors
#b3a74bPickled#b5a642Brass#a69a51Formosan Green#a79954Gremlin#a9a450Desert Locust#ad9a5dKathmandu#aea132Martian#c5b358Vegas Gold
Closest common color name: Dark Khaki.
Questions
- What color is #B2A252?
- #B2A252 is a desaturated yellow, closest to the named color Pickled. It belongs to the brown family of colors.
- What is the RGB value of #B2A252?
- The RGB value is 178, 162, 82: 178 red, 162 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #B2A252?
- The complementary color is #5262B2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B2A252?
- Black text. Black text has a contrast ratio of 8.18:1 and white text 2.57:1. WCAG asks for at least 4.5:1 for normal text.