Going back to earlier iterations of the iPhone, it wasn't uncommon for brand new phones to have a yellow tinge which cleared after a few days. I seem to remember it was something due to the bonding process which took a while to go off. I had one like that once and after less than a week, it was perfectly OK. I don't know if that's still the case.