Brass (#B5A642)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #000000
Contrast vs white: 2.47:1 — vs black: 8.50:1

Color values

  • HEX #B5A642
  • RGB rgb(181, 166, 66)
  • HSL hsl(52, 46%, 48%)
  • CMYK cmyk( 0, 8, 64, 29 )
  • Websafe #CC9933

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #B5A642 based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Brass
#B5A642 Base
#4251B5
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Brass
#B5A642 Base
#B56D42
#8BB542
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Brass
#B5A642 Base
#42B5A6
#A642B5
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Brass
#B5A642 Base
#428BB5
#6D42B5
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Brass
#B5A642 Base
#42B56D
#4251B5
#B5428B
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Brass
#B5A642 Base
#453F19
#7D732E
#978B37
#C4B65C
#CDC276
#E2DBAE
Shades & Tints

Darker shades and lighter tints of Brass, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#131107
#332F13
#544D1E
#746A2A
#958836
Brass #B5A642 Base
#C5B861
#D2C884
#DFD7A7
#EBE7CA
#F8F7EC
CSS & SCSS Snippets

Ready-to-use code snippets for #B5A642. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #B5A642;
}

/* Text */
.element {
    color: #B5A642;
}

/* Border */
.element {
    border: 1px solid #B5A642;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #B5A642,
        #4251B5
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #B5A642,
        #4251B5
    );
}
SCSS Variable
// SCSS variable
$brass: #B5A642;

// With RGB channels (useful for rgba() usage)
$brass-r: 181;
$brass-g: 166;
$brass-b: 66;

// Usage
.element {
    background-color: $brass;
    color: rgba($brass-r, $brass-g, $brass-b, 0.8);
}
Color Blindness Simulation

How Brass appears to people with different types of color vision deficiency.

Normal Vision #B5A642 How the color appears with full color vision.
Deuteranopia #ABAB41 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #A8A842 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #BC9E9E Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #A5A5A5 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Brass ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Brass #B5A642 Base
Vegas Gold #C5B358 ΔE 4.23
Old Gold #CFB53B ΔE 6.09
Dark Khaki #BDB76B ΔE 6.58
Citron #9FA91F ΔE 7.19

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.