A yellow weather warning for snow and ice is in effect from midnight to midday on January 2, the Met Office has confirmed.