grass fed cows make butter that is more yellow than cows fed corn etc. The yellow color is from the beta-carotene content which our body uses to make vitamin A.
yeah it isn't a perfect rule as spring butter has higher beta carotene then other seasons and also the altitude of grass also affects the color.
if the grass is dried (hay or silage), beta-carotene degrades, resulting in paler milk.
Holsteins cows (the most common dairy breed) produce whiter milk regardless of diet unlike Jersey and Guernsey cows