HEX atlas value

#A5A531

#A5A531 is a warm yellow HEX color close to Brass. According to Colors Encyclopedia, it converts to RGB 165, 165, 49, HSL 60, 54%, 42%, has luminance 0.3513, and belongs to the earth tone group.

#A5A531 Sample readable text
HEX #A5A531
RGB rgb(165, 165, 49)
HSL hsl(60 54% 42%)
CMYK cmyk(0, 0, 70, 35)
Luminance 0.3513
Contrast Black 8.03:1White 2.62:1

CSS

--color-a5a531: #A5A531;
.background-a5a531 { background-color: #A5A531; }
.text-a5a531 { color: #A5A531; }

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.3513
Black text8.03:1AA Pass
White text2.62: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":"#A5A531","rgb":[165,165,49],"hsl":[60,54,42],"cmyk":[0,0,70,35],"luminance":0.3513,"contrast":{"black":8.03,"white":2.62}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":8.03,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.62,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#D0D062","hex":"#D0D062","family":"yellow","bestTextColor":"#000000","contrastBlack":12.88,"contrastWhite":1.63,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Yellow Green","hex":"#9ACD32","family":"green","bestTextColor":"#000000","contrastBlack":11.15,"contrastWhite":1.88,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Peridot","hex":"#B4C424","family":"yellow","bestTextColor":"#000000","contrastBlack":10.86,"contrastWhite":1.93,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#BCBC1A","hex":"#BCBC1A","family":"yellow","bestTextColor":"#000000","contrastBlack":10.35,"contrastWhite":2.03,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Acid Green","hex":"#B0BF1A","family":"yellow","bestTextColor":"#000000","contrastBlack":10.31,"contrastWhite":2.04,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
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/a5a531.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/acid-green.json"]}
Harmonies
{"complementary":"#3131A5","analogous":["#A56B31","#6BA531"],"triadic":["#31A5A5","#A531A5"],"tetradic":["#31A56B","#3131A5","#A5316B"],"splitComplementary":["#316BA5","#6B31A5"],"monochromatic":["#D0D062","#A5A531","#5E5E1C"]}
Variants
{"light":"#D0D062","dark":"#5E5E1C","saturated":"#BCBC1A","desaturated":"#8D8D49","pastel":"#CCCC8A","neon":"#FFFF00"}
Nearest named colors
[{"slug":"brass","name":"Brass","hex":"#B5A642","distance":23.366642891095847},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":23.366642891095847},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":36.41428291206625},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":36.810324638611924},{"slug":"yellow-green","name":"Yellow Green","hex":"#9ACD32","distance":41.49698784249286}]

HEX meaning and use

About #A5A531

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

The RGB channels are 165, 165, and 49, with red carrying the strongest channel weight. In HSL, the hue is 60deg with 54% saturation and 42% 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.3513, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 23.37, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text8.03:1AA Pass
White text2.62:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000008.03:1 · AAA
White text#FFFFFF2.62:1 · Fail

Accessible Alternatives

#D0D062#000000 text · best 12.88:1#D0D062
Yellow Green#000000 text · best 11.15:1#9ACD32
Peridot#000000 text · best 10.86:1#B4C424
#BCBC1A#000000 text · best 10.35:1#BCBC1A
Acid Green#000000 text · best 10.31:1#B0BF1A

Generated Palette

#A5A531#A5A531
#3131A5#3131A5
#A56B31#A56B31
#6BA531#6BA531
#D0D062#D0D062
#5E5E1C#5E5E1C

Color Harmonies

#3131A5#3131A5
#A56B31#A56B31
#6BA531#6BA531
#31A5A5#31A5A5
#A531A5#A531A5

Variants

#D0D062#D0D062
#5E5E1C#5E5E1C
#BCBC1A#BCBC1A
#8D8D49#8D8D49
#CCCC8A#CCCC8A
Yellow#FFFF00

Nearest Named Colors