Anything scatological is “off-color” or a bit offensive, typically because it refers to excrement, especially in a joking way.
This is a word that describes a kind of immature humor you sometimes encounter in movies or TV shows. Scatological humor is of questionable taste, but it’s not quite obscene. Your little brother who thinks toilet jokes are hilarious? You can say that he’s a fan of scatological humor.
dealing pruriently with excrement and excretory functions“scatological literature”
(of behavior or especially language) characterized by obscenity or indecency