HEX atlas value

#A5AB2B

#A5AB2B is a warm yellow HEX color close to Acid Green. According to Colors Encyclopedia, it converts to RGB 165, 171, 43, HSL 63, 60%, 42%, has luminance 0.373, and belongs to the earth tone group.

#A5AB2B Sample readable text
HEX #A5AB2B
RGB rgb(165, 171, 43)
HSL hsl(63 60% 42%)
CMYK cmyk(4, 0, 75, 33)
Luminance 0.373
Contrast Black 8.46:1White 2.48:1

CSS

--color-a5ab2b: #A5AB2B;
.background-a5ab2b { background-color: #A5AB2B; }
.text-a5ab2b { color: #A5AB2B; }

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.373
Black text8.46:1AA Pass
White text2.48: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":"#A5AB2B","rgb":[165,171,43],"hsl":[63,60,42],"cmyk":[4,0,75,33],"luminance":0.373,"contrast":{"black":8.46,"white":2.48}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":8.46,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.48,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#D0D65C","hex":"#D0D65C","family":"yellow","bestTextColor":"#000000","contrastBlack":13.46,"contrastWhite":1.56,"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":"#BAC313","hex":"#BAC313","family":"yellow","bestTextColor":"#000000","contrastBlack":10.9,"contrastWhite":1.93,"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":"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","Acid Green 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/a5ab2b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/acid-green.json","https://www.colorsencyclopedia.com/api/colors/brass.json","https://www.colorsencyclopedia.com/api/colors/brushed-brass.json"]}
Harmonies
{"complementary":"#312BAB","analogous":["#AB722B","#65AB2B"],"triadic":["#2BA5AB","#AB2BA5"],"tetradic":["#2BAB72","#312BAB","#AB2B65"],"splitComplementary":["#2B65AB","#722BAB"],"monochromatic":["#D0D65C","#A5AB2B","#5E6218"]}
Variants
{"light":"#D0D65C","dark":"#5E6218","saturated":"#BAC313","desaturated":"#909442","pastel":"#CDD185","neon":"#F2FF00"}
Nearest named colors
[{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":28.460498941515414},{"slug":"brass","name":"Brass","hex":"#B5A642","distance":28.460498941515414},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":28.460498941515414},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":29.9833287011299},{"slug":"yellow-green","name":"Yellow Green","hex":"#9ACD32","distance":36.41428291206625}]

HEX meaning and use

About #A5AB2B

#A5AB2B is classified as a warm yellow value with earth tone visual character. #A5AB2B is visually closest to Acid Green, a named yellow color with HEX #B0BF1A.

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

WCAG Accessibility

Black text8.46:1AA Pass
White text2.48:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000008.46:1 · AAA
White text#FFFFFF2.48:1 · Fail

Accessible Alternatives

#D0D65C#000000 text · best 13.46:1#D0D65C
Yellow Green#000000 text · best 11.15:1#9ACD32
#BAC313#000000 text · best 10.9:1#BAC313
Peridot#000000 text · best 10.86:1#B4C424
Acid Green#000000 text · best 10.31:1#B0BF1A

Generated Palette

#A5AB2B#A5AB2B
#312BAB#312BAB
#AB722B#AB722B
#65AB2B#65AB2B
#D0D65C#D0D65C
#5E6218#5E6218

Color Harmonies

#312BAB#312BAB
#AB722B#AB722B
#65AB2B#65AB2B
#2BA5AB#2BA5AB
#AB2BA5#AB2BA5

Variants

#D0D65C#D0D65C
#5E6218#5E6218
#BAC313#BAC313
#909442#909442
#CDD185#CDD185
#F2FF00#F2FF00

Nearest Named Colors