The jelly bean or M&M color stipulation in contracts happened because one major rock group discovered that many of their contract stipulations about safety had been ignored, placing their lives, and the lives of their crew at risk.
Therefore, they specified that their hotel room had to have a bowl full of a particular color of candy in it. And they knew that if there *wasn’t* that candy waiting for them, then other, far more important stuff had probably also been ignored.
Ah, yes. Van Halen’s famous “no brown M&M’s” rider.