#B5A642

Brass is a medium, moderately saturated shade in the yellow color family, with a warm feel. Its HEX code is #B5A642, which equals rgb(181, 166, 66) in RGB and hsl(52, 47%, 48%) in HSL. In print terms it converts to roughly C0 M8 Y64 K29, although exact CMYK results depend on the paper and color profile.

  • HEX#B5A642
  • RGB181, 166, 66
  • HSL52°, 47%, 48%
  • CMYK0, 8, 64, 29
  • FamilyYellow
  • ToneMedium, moderately saturated

About Brass

Yellow shades are bright, sunny and attention-grabbing. They suggest optimism and clarity, and are often used for highlights, warnings and happy, youthful designs. Designers often reach for it as an accent, a button color or a background tint. Text in black is the most readable choice on this color, with a contrast ratio of 8.50:1. Its complementary color is #4150B4.

Download Brass as an image

Choose a size and format, then download a solid-color image — or tick colors in the library to batch-download a ZIP.

Loading colors…

Custom color

#3B82F6

Shade scale

Tip: tick the checkbox on any swatch to add it to a batch ZIP. Everything is generated in your browser — nothing is uploaded to a server.

Brass color codes

HEX#B5A642
RGBrgb(181, 166, 66)
HSLhsl(52, 47%, 48%)
HSV52°, 64%, 71%
CMYK0%, 8%, 64%, 29%
Decimal11904578

Shades and tints of Brass

Lighter tints are mixed with white and darker shades are mixed with black.

  • 50#F3F0E0
  • 100#E6E1C0
  • 200#DAD3A1
  • 300#CEC481
  • 400#C1B562
  • 500#B5A642
  • 600#978A37
  • 700#796F2C
  • 800#5B5321
  • 900#3C3716
  • 950#1E1C0B

Color harmonies for Brass

Contrast and accessibility of Brass

Text colorSampleContrast ratioWCAG
White text on BrassAa2.47:1Fails
Black text on BrassAa8.50:1AAA (excellent)

CSS code for Brass

background-color: #B5A642;color: #B5A642;background-color: rgb(181, 166, 66);background-color: hsl(52, 47%, 48%);:root { --color-brass: #B5A642; }class="bg-[#B5A642]"

Colors similar to Brass

More yellow shades

See all yellow shades →

Frequently asked questions

What is the HEX code for Brass?

The HEX code for Brass is #B5A642.

What is the RGB value of Brass?

Brass has an RGB value of 181, 166, 66 (rgb(181, 166, 66)). In HSL it is 52°, 47%, 48%.

What text color should I use on Brass?

Use black text on Brass. White text has a contrast ratio of 2.47:1 and black text has 8.50:1; WCAG AA requires at least 4.5:1 for normal text.

What color goes well with Brass?

The complementary color of Brass is #4150B4. Analogous colors #B46B41 and #8AB441 also pair well.

Explore more