Gold gave up early gains on Monday as a robust dollar outweighed safe-haven demand after Greeks rejected the terms of a bailout package in a referendum.
The failure to sustain the rally shows gold's struggle amidst prospects of higher US interest rates despite the uncertainty over Athens' financial situation and its future in the euro zone, a situation that would typically garner safety bids for bullion.
Spot gold was flat at $1,167.50 an ounce by 0652 GMT, after earlier jumping by as much as 0.6 per cent.
US gold climbed nearly 1 per cent in its biggest daily gain in about two weeks to $1,174.40 before paring some gains to trade up 0.3 per cent.
Silver, platinum and palladium all declined.
"Gold's deterioration is evidence of the market discounting wider contagion risk from a Greek default and increasing certainty of a US rate hike this year," Barclays analysts said in a note on Monday.
In a referendum on Sunday, Greeks overwhelmingly rejected conditions of a rescue package from creditors.
Official figures showed 61 per cent of Greeks had rejected a deal that would have imposed more austerity measures on an already ravaged economy.
The vote leaves Greece in uncharted waters: risking a banking collapse that could force it out of the euro. Without more emergency funding from the European Central Bank, Greece's banks could run out of cash within days.
Greek Finance Minister Yanis Varoufakis, whose forceful denunciations of creditors alienated many of his euro zone colleagues, resigned on Monday, saying Prime Minister Alexis Tsipras believed it would help smooth the path to a new aid deal.
Gold, typically seen as an alternative investment during times of financial and economic uncertainties, rallied early in Asian hours as the euro slumped and US equity futures fell on risk-averse sentiment in the market.
But the precious metal failed to hold the gains, even as other safe havens such as the yen rallied and the dollar climbed to its highest in a month.
"Its safe-haven property does not appear to be carrying much weight," said Howie Lee, an analyst at Phillip Futures.
A higher dollar makes gold more expensive for holders of other currencies, while also lowering its appeal as a hedge.
The greenback has also been supported recently by expectations the Federal Reserve will raise interest rates from record lows this year.
That has weighed on gold, a non-interest-paying asset.
Image: Gold jewellery; Photograph: Reuters
Analysing the Greek crisis
Greek PM says Athens ready to return to negotiating table
Oil prices tumble after Greece vote
'Europe is dying', EU opponents say, as Greek 'No' brings delight
Greeks defy Europe with overwhelming referendum 'No'