Yellow diarrhea can suggest a variety of situations. GERD, bacterial or viral conditions,or lack of bile. In some cases, the culprit could be a contaminated food that was consumed.
Bowel movements are dependent on what you have eaten in the last 72 hours. The color is not significant. What is significant is that you have diarrhea. It may be from food poisoning, which is quite common.