I learned a new word today:
scatological (from vocabulary.com)
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.
Definitions of scatological
dealing pruriently with excrement and excretory functions
(of behavior or especially language) characterized by obscenity or indecency