Please See: What causes yellow stool?

1. Diet What a person eats can affect the color of their stool. Carrots, sweet potatoes, turmeric, and foods that contain yellow food coloring may turn someone’s stool yellow. A diet high in fat or gluten can also lead to yellow stool. If a person regularly has yellow stool due to their diet, they should