How accurate is gender at about 17 weeks?

Tomorrow my husband and I will be getting an ultrasound and they'll be telling us the gender. How accurate will it be at around 17 weeks?