I'm not racist I even have a few black people in my family tree. Now that I think of it,  they're still hanging there.
Are you making a joke and making fun of Africans and black folks?
I'm not making fun of anyone, I'm just saying it how it is thought. You should get used to that.
I still do believe that you are not racist, but your joke has this very bad racist undertone that I do recommend that you refrain from telling other people. There's a very popular movie from years ago called 12 Years a Slave and I do think you should watch it so that you would not make fun of black folks anymore.