A young infant may be feeding entirely on mother's milk, which is white in colour but the stools, which the infant passes out, is quite yellowish. This yellow colour is due to
Bile pigments passed through bile juice
The stools, which the infant passes out is quite yellowish due to the presence of bile pigments. Bile juice contains pigments called bilirubin and biliverdin, which are obtained by recycling of dead and worn out RBCs. These pigments are typically responsible for imparting colour to the stool.