Kelly had eight points in the first five minutes of the second half when he and Shepherd combined for a 12-1 Golden Bear run. Then they scored the final 13 Cal points over the last four minutes to hold off the Beavers.
Shepherd scored 25 points and Kelly 20 for the Golden Bears (4-4). Grant Anticevich added 12 points. Kelly grabbed 13 rebounds for his fourth double-double and Shepherd eight boards as Cal had a 42-24 rebounding advantage.
The Beavers (1-7) had scored the last 12 points of the first half to pull within 34-33. But Kelly and Shepherd's 12-1 pushed the lead to 46-34.
Shepherd also scored inside to cap a 6-0 burst that made it 56-40 with 8:37 to play. Oregon State outscored Cal 11-2 to get within 60-53 with 4:10 to play but Kelly and Shepherd both had baskets down the stretch and combined to go 9 of 10 from the foul line.
Cal shot 54% in the second half went Kelly went 6 of 7 and scored 16 points and Shepherd was 5 of 9.
Oregon State went 12 of 31 (39%), including 1 of 8, from 3-point range. The Beavers were also outscored by 10 at the foul line.
Cal plays at Utah on Sunday when Oregon State is home against No. 11 Arizona.
For more AP college basketball coverage: https://apnews.com/hub/college-basketball and http://twitter.com/AP--Top25
No. 21 Providence hosts Georgetown after Watson's 22-point game
Georgetown Hoyas (6-8, 0-3 Big East) at Providence Friars (14-2, 4-1 Big East)
Stroud scores 14 to carry Fresno St. over Utah St. 61-54
— Deon Stroud came off the bench to score 14 points to carry Fresno State to a 61-54 win over Utah State on Tuesday night, the Bulldogs' ninth consecutive home victory.
FSU upsets No. 6 Duke in OT thriller
North Carolina native Caleb Mills leads Florida State with an 18-point performance in a 79-78 win over Duke.