Milk contains a yellow pigment, ?-carotene, which is derived from grass. The colour is not soluble in water and is thus present in the fat fraction of the milk. When making cheese, the fat is more concentrated, which results in a more yellow colour of cheese as compared to milk.