I've been thinking about this and I wanted to add, that intent is important too. If I know the person is racist, I'm not going to find thier jokes amusing. If I know the person is not a racist and there is no malice/ ill-intent behind it then I'm more likely to find it amusing.