Make sure you use a mattress cover at all times, when I only used a sheet on one twin bed, it turned yellow really fast.  The other one I had also a mattress pad and it blocked the light better and not discoloration.