HEX atlas value

#B2A124

#B2A124 is a warm yellow HEX color close to Brass. According to Colors Encyclopedia, it converts to RGB 178, 161, 36, HSL 53, 66%, 42%, has luminance 0.3508, and belongs to the balanced group.

#B2A124 Sample readable text
HEX #B2A124
RGB rgb(178, 161, 36)
HSL hsl(53 66% 42%)
CMYK cmyk(0, 10, 80, 30)
Luminance 0.3508
Contrast Black 8.02:1White 2.62:1

CSS

--color-b2a124: #B2A124;
.background-b2a124 { background-color: #B2A124; }
.text-b2a124 { color: #B2A124; }

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.3508
Black text8.02: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":"#B2A124","rgb":[178,161,36],"hsl":[53,66,42],"cmyk":[0,10,80,30],"luminance":0.3508,"contrast":{"black":8.02,"white":2.62}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":8.02,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.62,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#DCCD56","hex":"#DCCD56","family":"yellow","bestTextColor":"#000000","contrastBlack":12.91,"contrastWhite":1.63,"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"]},{"name":"#C9B30D","hex":"#C9B30D","family":"yellow","bestTextColor":"#000000","contrastBlack":9.94,"contrastWhite":2.11,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#2435B2","hex":"#2435B2","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":2.23,"contrastWhite":9.43,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["warm yellow","balanced","balanced yellow","Brass adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/b2a124.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":"#2435B2","analogous":["#B25B24","#7CB224"],"triadic":["#24B2A1","#A124B2"],"tetradic":["#24B25B","#2435B2","#B2247C"],"splitComplementary":["#247CB2","#5B24B2"],"monochromatic":["#DCCD56","#B2A124","#665C15"]}
Variants
{"light":"#DCCD56","dark":"#665C15","saturated":"#C9B30D","desaturated":"#9A8F3C","pastel":"#D6CC80","neon":"#FFE100"}
Nearest named colors
[{"slug":"brass","name":"Brass","hex":"#B5A642","distance":30.56141357987225},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":30.56141357987225},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":31.68595903550972},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":35.05709628591621},{"slug":"dark-goldenrod","name":"Dark Goldenrod","hex":"#B8860B","distance":37.282703764614496}]

HEX meaning and use

About #B2A124

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

The RGB channels are 178, 161, and 36, with red carrying the strongest channel weight. In HSL, the hue is 53deg with 66% 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 highlight and warning systems. Its luminance is 0.3508, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 30.56, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text8.02: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 #B2A124 needs readable text, badges, interface states, or nearby accessible alternatives.

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

Accessible Alternatives

#DCCD56#000000 text · best 12.91:1#DCCD56
Peridot#000000 text · best 10.86:1#B4C424
Acid Green#000000 text · best 10.31:1#B0BF1A
#C9B30D#000000 text · best 9.94:1#C9B30D
#2435B2#FFFFFF text · best 9.43:1#2435B2

Generated Palette

#B2A124#B2A124
#2435B2#2435B2
#B25B24#B25B24
#7CB224#7CB224
#DCCD56#DCCD56
#665C15#665C15

Color Harmonies

#2435B2#2435B2
#B25B24#B25B24
#7CB224#7CB224
#24B2A1#24B2A1
#A124B2#A124B2

Variants

#DCCD56#DCCD56
#665C15#665C15
#C9B30D#C9B30D
#9A8F3C#9A8F3C
#D6CC80#D6CC80
#FFE100#FFE100

Nearest Named Colors