The most active gold contract for August delivery rose 2.2 U.S. dollars, or 0.12 percent, to close at 1,811.4 dollars per ounce.
Delta variant of COVID-19 keeps spreading and the infection caseload is rising across the world, supportive of gold.
Nevertheless, a stronger dollar capped gold's growth.
Silver for September delivery fell 14.9 cents, or 0.59 percent, to close at 24.995 dollars per ounce. Platinum for October delivery fell 6.2 dollars, or 0.58 percent, to close at 1,065.2 dollars per ounce.