The hosts went down by seven wickets against Hampshire in Scarborough.
Victory was sealed at 3.06pm when James Vince hit the winning runs.
It means Yorkshire will go into their final block of four games in September looking over their shoulder.
Hampshire reached their target of 214 in comfortable style, openers Felix Organ (72) and Ian Holland (71) sharing a stand of 135.
The visitors lost three wickets for 12 runs in six overs shortly after lunch to briefly raise the home side’s hopes.
Holland steered Ben Coad to Tom Kohler-Cadmore at first slip, Organ pulled a short ball from Dom Bess to Matty Revis at deep mid-wicket, and Joe Weatherley was lbw to Coad for a 14-ball duck.
But James Vince (43) and Nick Gubbins (20) got the job done as Hampshire strengthened their title ambitions.