Brass color: hex code #B5A642

#B5A642 rgb(181, 166, 66)
Shades of yellow

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
RGBrgb(181, 166, 66)
RGB percentrgb(71%, 65.1%, 25.9%)
HSLhsl(52, 47%, 48%)
HSV / HSBhsv(52, 64%, 71%)
CMYKcmyk(0%, 8%, 64%, 29%)
CIE LABlab(67.64, -6.72, 52.16)
CIE LCHlch(67.64, 52.59, 97.35)
CIE XYZxyz(33.677, 37.491, 10.616)
Decimal11904578
Short hexNone (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 #B5A642RatioAAAAAAA large
Sample text8.5:1PassPassPass
Sample text2.47:1FailFailFail
#B5A642 as text onRatioAAAAAAA large
Sample text2.47:1FailFailFail
Sample text8.5:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.