HEX atlas value

#AFD42B

#AFD42B is a cool green HEX color close to Peridot. According to Colors Encyclopedia, it converts to RGB 175, 212, 43, HSL 73, 66%, 50%, has luminance 0.5638, and belongs to the balanced group.

#AFD42B Sample readable text
HEX #AFD42B
RGB rgb(175, 212, 43)
HSL hsl(73 66% 50%)
CMYK cmyk(17, 0, 80, 17)
Luminance 0.5638
Contrast Black 12.28:1White 1.71:1

CSS

--color-afd42b: #AFD42B;
.background-afd42b { background-color: #AFD42B; }
.text-afd42b { color: #AFD42B; }

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.5638
Black text12.28:1AA Pass
White text1.71: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":"#AFD42B","rgb":[175,212,43],"hsl":[73,66,50],"cmyk":[17,0,80,17],"luminance":0.5638,"contrast":{"black":12.28,"white":1.71}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":12.28,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.71,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"Green Yellow","hex":"#ADFF2F","family":"green","bestTextColor":"#000000","contrastBlack":17.12,"contrastWhite":1.23,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#BFF00F","hex":"#BFF00F","family":"green","bestTextColor":"#000000","contrastBlack":15.69,"contrastWhite":1.34,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#CCE378","hex":"#CCE378","family":"green","bestTextColor":"#000000","contrastBlack":14.83,"contrastWhite":1.42,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Pear","hex":"#D1E231","family":"yellow","bestTextColor":"#000000","contrastBlack":14.63,"contrastWhite":1.44,"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"]}]
AI context
{"semanticGroups":["cool green","balanced","balanced green","Peridot adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","botanical and wellness palettes"],"contrastSafeWith":["#000000","#1A1A1A","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/afd42b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/peridot.json","https://www.colorsencyclopedia.com/api/colors/yellow-green.json","https://www.colorsencyclopedia.com/api/colors/acid-green.json"]}
Harmonies
{"complementary":"#502BD4","analogous":["#D4A42B","#5BD42B"],"triadic":["#2BAFD4","#D42BAF"],"tetradic":["#2BD4A4","#502BD4","#D42B5B"],"splitComplementary":["#2B5BD4","#A42BD4"],"monochromatic":["#CCE378","#AFD42B","#70871C"]}
Variants
{"light":"#CCE378","dark":"#70871C","saturated":"#BFF00F","desaturated":"#9FB847","pastel":"#D2E09F","neon":"#D1FF29"}
Nearest named colors
[{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":18.16590212458495},{"slug":"yellow-green","name":"Yellow Green","hex":"#9ACD32","distance":23.2163735324878},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":27.03701166919155},{"slug":"pear","name":"Pear","hex":"#D1E231","distance":37.255872020394314},{"slug":"green-yellow","name":"Green Yellow","hex":"#ADFF2F","distance":43.23193264243457}]

HEX meaning and use

About #AFD42B

#AFD42B is classified as a cool green value with balanced visual character. #AFD42B is visually closest to Peridot, a named yellow color with HEX #B4C424.

The RGB channels are 175, 212, and 43, with green carrying the strongest channel weight. In HSL, the hue is 73deg with 66% saturation and 50% 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 botanical and wellness palettes. Its luminance is 0.5638, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 18.17, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text12.28:1AA Pass
White text1.71:1AA Fail

AA text options: #000000, #1A1A1A, #36454F.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000012.28:1 · AAA
White text#FFFFFF1.71:1 · Fail

Accessible Alternatives

Green Yellow#000000 text · best 17.12:1#ADFF2F
#BFF00F#000000 text · best 15.69:1#BFF00F
#CCE378#000000 text · best 14.83:1#CCE378
Pear#000000 text · best 14.63:1#D1E231
Yellow Green#000000 text · best 11.15:1#9ACD32

Generated Palette

#AFD42B#AFD42B
#502BD4#502BD4
#D4A42B#D4A42B
#5BD42B#5BD42B
#CCE378#CCE378
#70871C#70871C

Color Harmonies

#502BD4#502BD4
#D4A42B#D4A42B
#5BD42B#5BD42B
#2BAFD4#2BAFD4
#D42BAF#D42BAF

Variants

#CCE378#CCE378
#70871C#70871C
#BFF00F#BFF00F
#9FB847#9FB847
#D2E09F#D2E09F
#D1FF29#D1FF29

Nearest Named Colors