HEX atlas value

#AB9A2B

#AB9A2B is a warm yellow HEX color close to Brass. According to Colors Encyclopedia, it converts to RGB 171, 154, 43, HSL 52, 60%, 42%, has luminance 0.3194, and belongs to the earth tone group.

#AB9A2B Sample readable text
HEX #AB9A2B
RGB rgb(171, 154, 43)
HSL hsl(52 60% 42%)
CMYK cmyk(0, 10, 75, 33)
Luminance 0.3194
Contrast Black 7.39:1White 2.84:1

CSS

--color-ab9a2b: #AB9A2B;
.background-ab9a2b { background-color: #AB9A2B; }
.text-ab9a2b { color: #AB9A2B; }

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.3194
Black text7.39:1AA Pass
White text2.84: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":"#AB9A2B","rgb":[171,154,43],"hsl":[52,60,42],"cmyk":[0,10,75,33],"luminance":0.3194,"contrast":{"black":7.39,"white":2.84}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":7.39,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.84,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#D6C65C","hex":"#D6C65C","family":"yellow","bestTextColor":"#000000","contrastBlack":12.09,"contrastWhite":1.74,"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"]},{"name":"#C3AC13","hex":"#C3AC13","family":"yellow","bestTextColor":"#000000","contrastBlack":9.23,"contrastWhite":2.28,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#2B3CAB","hex":"#2B3CAB","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":2.34,"contrastWhite":8.98,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"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/ab9a2b.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/dark-goldenrod.json"]}
Harmonies
{"complementary":"#2B3CAB","analogous":["#AB5A2B","#7CAB2B"],"triadic":["#2BAB9A","#9A2BAB"],"tetradic":["#2BAB5A","#2B3CAB","#AB2B7C"],"splitComplementary":["#2B7CAB","#5A2BAB"],"monochromatic":["#D6C65C","#AB9A2B","#625818"]}
Variants
{"light":"#D6C65C","dark":"#625818","saturated":"#C3AC13","desaturated":"#948942","pastel":"#D1C785","neon":"#FFDD00"}
Nearest named colors
[{"slug":"brass","name":"Brass","hex":"#B5A642","distance":27.80287754891569},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":27.80287754891569},{"slug":"dark-goldenrod","name":"Dark Goldenrod","hex":"#B8860B","distance":39.91240408695021},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":41.02438299353203},{"slug":"copper","name":"Copper","hex":"#B87333","distance":41.88078318274385}]

HEX meaning and use

About #AB9A2B

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

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

WCAG Accessibility

Black text7.39:1AA Pass
White text2.84:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000007.39:1 · AAA
White text#FFFFFF2.84:1 · Fail

Accessible Alternatives

#D6C65C#000000 text · best 12.09:1#D6C65C
Acid Green#000000 text · best 10.31:1#B0BF1A
#C3AC13#000000 text · best 9.23:1#C3AC13
#2B3CAB#FFFFFF text · best 8.98:1#2B3CAB
Brushed Brass#000000 text · best 8.5:1#B5A642

Generated Palette

#AB9A2B#AB9A2B
#2B3CAB#2B3CAB
#AB5A2B#AB5A2B
#7CAB2B#7CAB2B
#D6C65C#D6C65C
#625818#625818

Color Harmonies

#2B3CAB#2B3CAB
#AB5A2B#AB5A2B
#7CAB2B#7CAB2B
#2BAB9A#2BAB9A
#9A2BAB#9A2BAB

Variants

#D6C65C#D6C65C
#625818#625818
#C3AC13#C3AC13
#948942#948942
#D1C785#D1C785
#FFDD00#FFDD00

Nearest Named Colors