The warning is in place today (Monday, May 5) from 1pm to 9pm.
BBC forecasters are expecting thundery showers and light winds in York from midday.
The Met Office says the storm could see flooding and travel disruption in areas.
“Where flooding or lightning strikes occur, there is a chance of delays and some cancellations to train and bus services,” a Met Office spokesperson said.
YOU’LL FIND MORE ON THIS STORY AND OTHERS AT www.yorkpress.co.uk OR PICK UP YOUR COPY OF THE NEWSPAPER ITSELF AVAILABLE SIX DAYS A WEEK AT YOUR LOCAL NEWSAGENT