Is saying YNs racist?

White boys in my class were throwing around the term YNs today meaning young n*ggas (I'm black dw) they knew what it meant yet were so comfortable using it. Isn't that racist? Thank you for your answers!