Yolk color is a red herring, you can feed chickens in cages many things to affect the color of the yolk, and it has nothing to do with quality of life.
Generally quality of feed correlates to quality of life. Factory farmers aren't going to take the time to make sure a chicken gets greens and reds and yellows in their diet.