The character actually appeared in comics a few months before the Black Panther Party formed in 1966.
If Marvel had created superheroes named the Ku Klux Klan a few months before the end of the Civil War, would you find that acceptable now?