Is it okay for the groom to wear a colorful tie or shirt to the wedding?

Yes. There is no rule that says your groom cannot wear a colored tie or a white suit. Of course you don’t want him up there looking like a clown, but a nice splash of color won’t hurt.