From the Super Mario Wiki
Coloured coins are special coins found in Wario Land 3 in the Music Box World. They are encountered less often than regular ones and are worth ten regular coins. Like regular coins, colored coins might show up after Wario crumbles blocks with his shoulder charge. They can be used to pay the golf minigames, and they come in four color variations: silver, red, green, and blue.