HEX atlas value

#B2AB24

#B2AB24 is a warm yellow HEX color close to Acid Green. According to Colors Encyclopedia, it converts to RGB 178, 171, 36, HSL 57, 66%, 42%, has luminance 0.3872, and belongs to the balanced group.

#B2AB24 Sample readable text
HEX #B2AB24
RGB rgb(178, 171, 36)
HSL hsl(57 66% 42%)
CMYK cmyk(0, 4, 80, 30)
Luminance 0.3872
Contrast Black 8.74:1White 2.4:1

CSS

--color-b2ab24: #B2AB24;
.background-b2ab24 { background-color: #B2AB24; }
.text-b2ab24 { color: #B2AB24; }

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.3872
Black text8.74:1AA Pass
White text2.4: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":"#B2AB24","rgb":[178,171,36],"hsl":[57,66,42],"cmyk":[0,4,80,30],"luminance":0.3872,"contrast":{"black":8.74,"white":2.4}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":8.74,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.4,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#DCD656","hex":"#DCD656","family":"yellow","bestTextColor":"#000000","contrastBlack":13.8,"contrastWhite":1.52,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#C9C00D","hex":"#C9C00D","family":"yellow","bestTextColor":"#000000","contrastBlack":11.03,"contrastWhite":1.9,"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":"Old Gold","hex":"#CFB53B","family":"yellow","bestTextColor":"#000000","contrastBlack":10.33,"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","balanced","balanced yellow","Acid Green adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/b2ab24.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/acid-green.json","https://www.colorsencyclopedia.com/api/colors/peridot.json","https://www.colorsencyclopedia.com/api/colors/brass.json"]}
Harmonies
{"complementary":"#242BB2","analogous":["#B26424","#72B224"],"triadic":["#24B2AB","#AB24B2"],"tetradic":["#24B264","#242BB2","#B22472"],"splitComplementary":["#2472B2","#6424B2"],"monochromatic":["#DCD656","#B2AB24","#666215"]}
Variants
{"light":"#DCD656","dark":"#666215","saturated":"#C9C00D","desaturated":"#9A963C","pastel":"#D6D180","neon":"#FFF200"}
Nearest named colors
[{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":22.44994432064365},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":25.079872407968907},{"slug":"brass","name":"Brass","hex":"#B5A642","distance":30.56141357987225},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":30.56141357987225},{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":38.34057902536163}]

HEX meaning and use

About #B2AB24

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

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

WCAG Accessibility

Black text8.74:1AA Pass
White text2.4:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000008.74:1 · AAA
White text#FFFFFF2.4:1 · Fail

Accessible Alternatives

#DCD656#000000 text · best 13.8:1#DCD656
#C9C00D#000000 text · best 11.03:1#C9C00D
Peridot#000000 text · best 10.86:1#B4C424
Old Gold#000000 text · best 10.33:1#CFB53B
Acid Green#000000 text · best 10.31:1#B0BF1A

Generated Palette

#B2AB24#B2AB24
#242BB2#242BB2
#B26424#B26424
#72B224#72B224
#DCD656#DCD656
#666215#666215

Color Harmonies

#242BB2#242BB2
#B26424#B26424
#72B224#72B224
#24B2AB#24B2AB
#AB24B2#AB24B2

Variants

#DCD656#DCD656
#666215#666215
#C9C00D#C9C00D
#9A963C#9A963C
#D6D180#D6D180
#FFF200#FFF200

Nearest Named Colors