(Updates the price in the second paragraph.)
Gold was steady midafternoon on Tuesday, sticking above $4,000 even as the dollar and yields rose.
Gold for August delivery was last seen up 0.1% to $4,042.60 per ounce.
The price of the metal has dropped 10% over the past month as investors worry rising US inflation due to higher energy prices will force a hike to US interest rates, bearish for the metal since it offers no yield.
"The macro backdrop remains dominated by ongoing U.S. dollar strength - with USD/JPY reaching its highest level since 1986 in Asia today - and lingering concerns that the Federal Reserve may keep a hawkish stance despite the sharp decline in energy prices," Saxo Bank wrote.
The dollar rose early, with the ICE dollar index last seen up 0.11 points to 101.21. Treasury yields also rose, with the US two-year note last seen paying 4.135%, up 2.0 basis points, while the yield on the 10-year note was also up 3.6 points to 4.415%