The yellow color of the stool is normal and patients do not need to worry too much. After the food enters the digestive system, the food residue will be excreted after digestion and absorption, and the color of the stool will be yellow or brown. If you eat more red food, such as red heart dragon fruit and other foods, the color of the stool can be red. If you eat more protein, such as meat, eggs, seafood, etc., the color of the stool to brown is more common. If you eat iron or blood products, the stool color is darker. All the above changes in stool color are related to diet, and when the diet changes, the stool color will also change. It is important to note that when the stool color changes and is not related to the diet, it suggests that it may be related to a disease. For example, clay-like stools may be associated with biliary obstruction; tarry stools may be associated with upper gastrointestinal bleeding. Therefore, when a patient presents with abnormal stool color, it is recommended to consult with a gastroenterologist for differential diagnosis.