Yellen told the Congressional Financial Services Committee that the central bank would likely continue to pull back on its asset purchasing program, signaling confidence in the economic recovery.
Crude oil added 52 cents on the New York Mercantile Exchange to reach $100.40 per barrel.
Reformulated blendstock gasoline prices added 2.78 cents to $2.7526 per gallon. Heating oil prices shed 3.36 cents to $3.0302 per gallon.
Natural gas added 13.2 cents to $4.956 per million British thermal units.
At the pump, the national average price for a gallon of unleaded rose to $3.307 per gallon from Monday's $3.294, the AAA Daily Fuel Gauge Report said.
Celebrity Couples of 2014 [PHOTOS]