HEX atlas value

#A5B54A

#A5B54A is a warm yellow HEX color close to Brass. According to Colors Encyclopedia, it converts to RGB 165, 181, 74, HSL 69, 42%, 50%, has luminance 0.4154, and belongs to the earth tone group.

#A5B54A Sample readable text
HEX #A5B54A
RGB rgb(165, 181, 74)
HSL hsl(69 42% 50%)
CMYK cmyk(9, 0, 59, 29)
Luminance 0.4154
Contrast Black 9.31:1White 2.26:1

CSS

--color-a5b54a: #A5B54A;
.background-a5b54a { background-color: #A5B54A; }
.text-a5b54a { color: #A5B54A; }

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.4154
Black text9.31:1AA Pass
White text2.26: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":"#A5B54A","rgb":[165,181,74],"hsl":[69,42,50],"cmyk":[9,0,59,29],"luminance":0.4154,"contrast":{"black":9.31,"white":2.26}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":9.31,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.26,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#C5D08B","hex":"#C5D08B","family":"green","bestTextColor":"#000000","contrastBlack":12.77,"contrastWhite":1.64,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#B9D12E","hex":"#B9D12E","family":"yellow","bestTextColor":"#000000","contrastBlack":12.22,"contrastWhite":1.72,"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":"Dark Khaki","hex":"#BDB76B","family":"yellow","bestTextColor":"#000000","contrastBlack":10.15,"contrastWhite":2.07,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Brushed Brass","hex":"#B5A642","family":"yellow","bestTextColor":"#000000","contrastBlack":8.5,"contrastWhite":2.47,"wcagAA":["#000000","#1A1A1A"],"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/a5b54a.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/yellow-green.json"]}
Harmonies
{"complementary":"#5A4AB5","analogous":["#B5904A","#6FB54A"],"triadic":["#4AA5B5","#B54AA5"],"tetradic":["#4AB590","#5A4AB5","#B54A6F"],"splitComplementary":["#4A6FB5","#904AB5"],"monochromatic":["#C5D08B","#A5B54A","#6A742F"]}
Variants
{"light":"#C5D08B","dark":"#6A742F","saturated":"#B9D12E","desaturated":"#919966","pastel":"#CBD0AE","neon":"#DFFF29"}
Nearest named colors
[{"slug":"brass","name":"Brass","hex":"#B5A642","distance":23.345235059857504},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":23.345235059857504},{"slug":"yellow-green","name":"Yellow Green","hex":"#9ACD32","distance":35.679125549822544},{"slug":"dark-khaki","name":"Dark Khaki","hex":"#BDB76B","distance":40.85339643163099},{"slug":"moss-green","name":"Moss Green","hex":"#8A9A5B","distance":41.79712908801273}]

HEX meaning and use

About #A5B54A

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

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

WCAG Accessibility

Black text9.31:1AA Pass
White text2.26:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000009.31:1 · AAA
White text#FFFFFF2.26:1 · Fail

Accessible Alternatives

#C5D08B#000000 text · best 12.77:1#C5D08B
#B9D12E#000000 text · best 12.22:1#B9D12E
Yellow Green#000000 text · best 11.15:1#9ACD32
Dark Khaki#000000 text · best 10.15:1#BDB76B
Brushed Brass#000000 text · best 8.5:1#B5A642

Generated Palette

#A5B54A#A5B54A
#5A4AB5#5A4AB5
#B5904A#B5904A
#6FB54A#6FB54A
#C5D08B#C5D08B
#6A742F#6A742F

Color Harmonies

#5A4AB5#5A4AB5
#B5904A#B5904A
#6FB54A#6FB54A
#4AA5B5#4AA5B5
#B54AA5#B54AA5

Variants

#C5D08B#C5D08B
#6A742F#6A742F
#B9D12E#B9D12E
#919966#919966
#CBD0AE#CBD0AE
#DFFF29#DFFF29

Nearest Named Colors