According to the fun fan explanation, Sonic channels all the energy stored in his super-fast hedgehog legs and spreads it throughout his entire body. The power surge is so intense that energy courses through him, turning him gold.
Dragon Ball fans might be tempted to call this "going Super Saiyan," but that's not quite right. His appearance may resemble a Super Saiyan, yet Sonic is no Saiyan, he's a hedgehog through and through.