While yellow stool can be caused by sweet potatoes, carrots, and foods with yellow food coloring, it can also indicate excess fat in the stool, which can be caused by a malabsorption disorder like celiac disease, lactose intolerance, or a disorder that prevents the pancreas from providing enzymes that digest fat.