The warning - from 7pm on Monday until 10am on Tuesday - covers parts of Gwynedd, Conwy, Denbighshire, Flintshire and Wrexham.