If the light at the front turns yellow, the batteries in your Wii Remote are running low.
It's a warning rather than a shutdown, so you've got some play left, but it's worth swapping in fresh batteries soon. Rechargeable packs are the better long-term answer if you play regularly.