Question: why are banana slugs yellow?
Answer: This article from the San Francisco Bay Area PBS station says: “Banana slug slime contains nasty chemicals that numb the tongue of any animal that attempts to nibble it, discouraging predators like raccoons, who have to go to the trouble of removing the slime if they want to eat the slug.”