* U.S. consumer prices rose by the most in 13 years in June

* Dollar down 0.2% against rivals

July 14 (Reuters) - Gold prices firmed on Wednesday after getting a lift from weaker U.S. Treasury yields and dollar, though the main focus was on Federal Reserve Chair Jerome Powell's testimony due later in the day following a robust rise in consumer prices.

Spot gold was up 0.4% at $1,814.13 per ounce, as of 0639 GMT, while U.S. gold futures rose 0.3% to $1,814.5.

While gold has made gentle gains on the back of slightly lower U.S. dollar and yields, it has not been enough to decisively shift momentum higher, said Jeffrey Halley, a senior market analyst at OANDA.

"Gold held up surprisingly well overnight after the CPI data propelled the dollar higher and lifted long-dated bond yields. That should give some comfort to bullish investors that gold may finally be regaining its inflation hedging tailwind."

The dollar index ticked 0.2% lower, having seen its best daily percentage gain in nearly a month on Tuesday. Benchmark 10-year yields also pulled back, which translates into lower opportunity cost of holding non-interest bearing gold.

Data on Tuesday showed U.S. consumer prices in June rose by the most in 13 years. Focus now shifts to Powell's testimony before the Congress for any views on the rising price pressures and possible tightening of monetary policy.

Powell has repeatedly stated that higher inflation will be transitory, noting that he expected supply chains to normalize and adapt.

"I'm expecting a hawkish tone in Powell's testimony. In that case, dollar will rise and gold will fall," Jigar Trivedi, a commodities analyst at Mumbai-based broker Anand Rathi Shares said.

"Psychological support is at $1,800, but that will get breached very soon. I'm looking at $1,760 as a support for the next 15 days."

Gold prices slumped 7% last month after the U.S. central bank signalled at a sooner-than-expected interest rate increase.

Elsewhere, silver gained 0.5% to $26.10 per ounce, palladium rose 0.4% to $2,838.18, and platinum was 0.6% higher at $1,111.23. (Reporting by Eileen Soreng in Bengaluru; Editing by Sherry Jacob-Phillips and Shailesh Kuber)