Sex at 31 weeks.

Is sex at 31 weeks ok? My stomach has been a little tight but that's it.