Brass color: hex code #B5A642
Brass has the hex code #B5A642. It is a desaturated yellow.
In the RGB color model it is made of 71% red, 65.1% green and 25.9% blue (181, 166, 66).
Its hue angle is 52°, with 47% saturation and 48% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 64% yellow and 29% black.
Black text is the more readable choice on this background (contrast 8.5:1).
Brass (#B5A642) color codes
| HEX | #B5A642 | |
|---|---|---|
| RGB | rgb(181, 166, 66) | |
| RGB percent | rgb(71%, 65.1%, 25.9%) | |
| HSL | hsl(52, 47%, 48%) | |
| HSV / HSB | hsv(52, 64%, 71%) | |
| CMYK | cmyk(0%, 8%, 64%, 29%) | |
| CIE LAB | lab(67.64, -6.72, 52.16) | |
| CIE LCH | lch(67.64, 52.59, 97.35) | |
| CIE XYZ | xyz(33.677, 37.491, 10.616) | |
| Decimal | 11904578 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Brass, 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 #B5A642 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.5:1 | Pass | Pass | Pass |
| Sample text | 2.47:1 | Fail | Fail | Fail |
| #B5A642 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.47:1 | Fail | Fail | Fail |
| Sample text | 8.5: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 #B5A642 looks to people with the most common types of color vision deficiency.
#b5a136Protanopia
no red cones#b9a747Deuteranopia
no green cones#c29b91Tritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #b5a642; }
.text { color: #b5a642; }
.border { border: 2px solid #b5a642; }
.transparent { background-color: rgb(181 166 66 / 50%); }
.gradient { background: linear-gradient(to right, #b5a642, #8bb542); }
Similar colors
#b3a74bPickled#aea132Martian#bea932Hey Pesto#bda928Greenfinch#c1b23ePesto#a9a450Desert Locust#c5b358Vegas Gold#aa9922Greedy Gecko
Closest common color name: Dark Khaki.
See #B5A642 on its hex code page
Questions
- What color is #B5A642?
- #B5A642 is a desaturated yellow known as Brass. It belongs to the yellow family of colors.
- What is the RGB value of Brass?
- The RGB value is 181, 166, 66: 181 red, 166 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of Brass?
- The complementary color is #4251B5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B5A642?
- Black text. Black text has a contrast ratio of 8.5:1 and white text 2.47:1. WCAG asks for at least 4.5:1 for normal text.