I generally do not like mods to the US flag. But racist?! What a joke.
I would argue that the HOA should have recognized it as racist within the first 5 days that they were aware of it. Seeing how it was up for a few years, they have accepted it as ordinary, and not racist. You can’t take years to file a complaint. Try filing a grievance elsewhere several years after the event.