YouTube's hate speech policy prohibits:
Use of racial, religious or other slurs and stereotypes that incite or promote hatred based on any of the attributes noted above. This can take the form of speech, text, or imagery promoting these stereotypes or treating them as factual.
YouTube guidelines also say that creators should not “try to shock or disgust your viewers” or “use your video to glorify or celebrate violent acts.”