A yellow weather warning for snow and ice came into force on Monday afternoon.