Icon only vs. text and icon

Im working on a project now but I'm not sure if an icon alone is accessible (AA) or if it needs to be accompanied by text?

Which would meet the WCAG AA standards?