HEX atlas value

#A7A21B

#A7A21B is a warm yellow HEX color close to Acid Green. According to Colors Encyclopedia, it converts to RGB 167, 162, 27, HSL 58, 72%, 38%, has luminance 0.3414, and belongs to the vibrant group.

#A7A21B Sample readable text
HEX #A7A21B
RGB rgb(167, 162, 27)
HSL hsl(58 72% 38%)
CMYK cmyk(0, 3, 84, 35)
Luminance 0.3414
Contrast Black 7.83:1White 2.68:1

CSS

--color-a7a21b: #A7A21B;
.background-a7a21b { background-color: #A7A21B; }
.text-a7a21b { color: #A7A21B; }

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.3414
Black text7.83:1AA Pass
White text2.68: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":"#A7A21B","rgb":[167,162,27],"hsl":[58,72,38],"cmyk":[0,3,84,35],"luminance":0.3414,"contrast":{"black":7.83,"white":2.68}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":7.83,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.68,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#E0DA3E","hex":"#E0DA3E","family":"yellow","bestTextColor":"#000000","contrastBlack":14.27,"contrastWhite":1.47,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#1B20A7","hex":"#1B20A7","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":1.81,"contrastWhite":11.59,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"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":"#BCB606","hex":"#BCB606","family":"yellow","bestTextColor":"#000000","contrastBlack":9.83,"contrastWhite":2.14,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","vibrant","vibrant yellow","Acid Green adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-energy accents","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/a7a21b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/acid-green.json","https://www.colorsencyclopedia.com/api/colors/dark-goldenrod.json","https://www.colorsencyclopedia.com/api/colors/peridot.json"]}
Harmonies
{"complementary":"#1B20A7","analogous":["#A75C1B","#66A71B"],"triadic":["#1BA7A2","#A21BA7"],"tetradic":["#1BA75C","#1B20A7","#A71B66"],"splitComplementary":["#1B66A7","#5C1BA7"],"monochromatic":["#E0DA3E","#A7A21B","#58550E"]}
Variants
{"light":"#E0DA3E","dark":"#58550E","saturated":"#BCB606","desaturated":"#918E30","pastel":"#D6D36B","neon":"#EBE300"}
Nearest named colors
[{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":30.380915061926625},{"slug":"dark-goldenrod","name":"Dark Goldenrod","hex":"#B8860B","distance":36.45545226711637},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":37.49666651850535},{"slug":"brass","name":"Brass","hex":"#B5A642","distance":41.6293165929973},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":41.6293165929973}]

HEX meaning and use

About #A7A21B

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

The RGB channels are 167, 162, and 27, with red carrying the strongest channel weight. In HSL, the hue is 58deg with 72% saturation and 38% lightness, so this page treats it as a high-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 high-energy accents. Its luminance is 0.3414, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 30.38, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text7.83:1AA Pass
White text2.68:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000007.83:1 · AAA
White text#FFFFFF2.68:1 · Fail

Accessible Alternatives

#E0DA3E#000000 text · best 14.27:1#E0DA3E
#1B20A7#FFFFFF text · best 11.59:1#1B20A7
Peridot#000000 text · best 10.86:1#B4C424
Acid Green#000000 text · best 10.31:1#B0BF1A
#BCB606#000000 text · best 9.83:1#BCB606

Generated Palette

#A7A21B#A7A21B
#1B20A7#1B20A7
#A75C1B#A75C1B
#66A71B#66A71B
#E0DA3E#E0DA3E
#58550E#58550E

Color Harmonies

#1B20A7#1B20A7
#A75C1B#A75C1B
#66A71B#66A71B
#1BA7A2#1BA7A2
#A21BA7#A21BA7

Variants

#E0DA3E#E0DA3E
#58550E#58550E
#BCB606#BCB606
#918E30#918E30
#D6D36B#D6D36B
#EBE300#EBE300

Nearest Named Colors