Yellow diarrhea suggests, that not enough bile is excreted with the stool, probably due to
bile flow blockage within the liver or
bile duct (
bile gives a normal brown color to the stool). If there'e no bile, fats can't be absorbed, they reach the colon, irritate colonic wall and thus induce diarrhea. In this case stool would be pale, foamy, floating and sticky.
So, the general advice about the diet is: exclude as much fats as possible from the diet.