HEX atlas value

#B5A642

#B5A642 is a warm yellow HEX color close to Brass. According to Colors Encyclopedia, it converts to RGB 181, 166, 66, HSL 52, 47%, 48%, has luminance 0.3749, and belongs to the earth tone group.

#B5A642 Sample readable text
HEX #B5A642
RGB rgb(181, 166, 66)
HSL hsl(52 47% 48%)
CMYK cmyk(0, 8, 64, 29)
Luminance 0.3749
Contrast Black 8.5:1White 2.47:1

CSS

--color-b5a642: #B5A642;
.background-b5a642 { background-color: #B5A642; }
.text-b5a642 { color: #B5A642; }

Machine-readable data

Machine-Readable HEX Data (JSON)

Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.3749
Black text8.5:1AA Pass
White text2.47:1AA Fail
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{"hex":"#B5A642","rgb":[181,166,66],"hsl":[52,47,48],"cmyk":[0,8,64,29],"luminance":0.3749,"contrast":{"black":8.5,"white":2.47}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":8.5,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.47,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#D1C680","hex":"#D1C680","family":"yellow","bestTextColor":"#000000","contrastBlack":12.1,"contrastWhite":1.74,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#CFB826","hex":"#CFB826","family":"yellow","bestTextColor":"#000000","contrastBlack":10.54,"contrastWhite":1.99,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Old Gold","hex":"#CFB53B","family":"yellow","bestTextColor":"#000000","contrastBlack":10.33,"contrastWhite":2.03,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#8AB441","hex":"#8AB441","family":"green","bestTextColor":"#000000","contrastBlack":8.69,"contrastWhite":2.42,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Peru","hex":"#CD853F","family":"orange","bestTextColor":"#000000","contrastBlack":7.02,"contrastWhite":2.99,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000"]}]
AI context
{"semanticGroups":["warm yellow","earth tone","earth tone yellow","Brass adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","natural palettes","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/b5a642.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/brass.json","https://www.colorsencyclopedia.com/api/colors/brushed-brass.json","https://www.colorsencyclopedia.com/api/colors/old-gold.json"]}
Harmonies
{"complementary":"#4150B4","analogous":["#B46B41","#8AB441"],"triadic":["#41B4A5","#A541B4"],"tetradic":["#41B46B","#4150B4","#B4418A"],"splitComplementary":["#418AB4","#6B41B4"],"monochromatic":["#D1C680","#B5A642","#706729"]}
Variants
{"light":"#D1C680","dark":"#706729","saturated":"#CFB826","desaturated":"#99915C","pastel":"#D0CAA4","neon":"#FFE11F"}
Nearest named colors
[{"slug":"brass","name":"Brass","hex":"#B5A642","distance":0},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":0},{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":30.822070014844883},{"slug":"antique-gold","name":"Antique Gold","hex":"#B08D57","distance":33.03028912982749},{"slug":"peru","name":"Peru","hex":"#CD853F","distance":40.91454509095757}]

HEX meaning and use

About #B5A642

#B5A642 is classified as a warm yellow value with earth tone visual character. #B5A642 is visually closest to Brass, a named yellow color with HEX #B5A642.

The RGB channels are 181, 166, and 66, with red carrying the strongest channel weight. In HSL, the hue is 52deg with 47% saturation and 48% lightness, so this page treats it as a moderate-saturation, mid-lightness atlas color rather than a generic swatch.

According to Colors Encyclopedia, this HEX value works best for color conversion, WCAG contrast checks, CSS color tokens, and natural palettes. Its luminance is 0.3749, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 0.00, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text8.5:1AA Pass
White text2.47:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

Use these pairings when #B5A642 needs readable text, badges, interface states, or nearby accessible alternatives.

Black text#0000008.5:1 · AAA
White text#FFFFFF2.47:1 · Fail

Accessible Alternatives

#D1C680#000000 text · best 12.1:1#D1C680
#CFB826#000000 text · best 10.54:1#CFB826
Old Gold#000000 text · best 10.33:1#CFB53B
#8AB441#000000 text · best 8.69:1#8AB441
Peru#000000 text · best 7.02:1#CD853F

Generated Palette

Brushed Brass#B5A642
#4150B4#4150B4
#B46B41#B46B41
#8AB441#8AB441
#D1C680#D1C680
#706729#706729

Color Harmonies

#4150B4#4150B4
#B46B41#B46B41
#8AB441#8AB441
#41B4A5#41B4A5
#A541B4#A541B4

Variants

#D1C680#D1C680
#706729#706729
#CFB826#CFB826
#99915C#99915C
#D0CAA4#D0CAA4
#FFE11F#FFE11F

Nearest Named Colors