Brass Color
Brass is a medium yellow with hex code #B5A642. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Brass color codes
| HEX | #B5A642 | |
|---|---|---|
| RGB | rgb(181, 166, 66) | |
| HSL | hsl(52, 47%, 48%) | |
| HSV | 52°, 64%, 71% | |
| CMYK | 0%, 8%, 64%, 29% | |
| OKLCH | oklch(71.9% 0.121 100.8) | |
| Tailwind | bg-[#b5a642] |
Closest Tailwind colour: yellow-600 (#CA8A04). Convert any colour in the Color Converter.
About Brass
Brass (#B5A642) is a medium yellow. In the RGB model it is 71% red, 65% green and 26% blue; 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.
It is a warm colour and appears in our shades of gold. Text on it reads best in black (8.5:1 contrast).
Brass tints and shades
Tints mix brass with white; shades mix it with black. Click to copy.
Colors that go with Brass
Complementary
Analogous
Triadic
Split complementary
Brass contrast
- AA text fail
- AAA text fail
- AA large fail
- AA text pass
- AAA text pass
- AA large pass
Using Brass in CSS
.brand {
color: #b5a642;
}
.button {
background: #b5a642;
color: #111;
}
.hero {
background: linear-gradient(135deg, #cfc584, #b5a642, #766c2b);
}Similar colors
Gradients with Brass
Brass FAQ
What color is Brass?
Brass is a medium yellow. Its hex code is #B5A642 and it is a warm colour.
What is the hex code for Brass?
The hex code for Brass is #B5A642. In RGB that is rgb(181, 166, 66), and in HSL hsl(52, 47%, 48%).
What is Brass in CMYK?
Brass is roughly C 0%, M 8%, Y 64%, K 29% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Brass?
Its complementary colour is #4150B4. For a calmer palette use its analogous colours #B46B41 and #8AB441, or tints and shades of Brass itself.
Is white or black text better on Brass?
Black text reads better on Brass: 8.5:1 contrast, against 2.5:1 for white. WCAG asks for 4.5:1 for body text.
