Yes, white keyboards get yellow over time. This yellowing happens thanks to bromine in the plastic. It’s not uncommon for plastics that are exposed to UV light to turn yellow. No matter what care you take and keep the plastic clean, the keycaps and the body of the white keyboard eventually turn yellow.