Generally speaking, the official "yardage" of a hole is the distance from a designated point on the Tee Box to the center of the green.
It is not necessarily the yardage from the tee marker to the hole! So be careful. The hole may be closer or farther than the center of the green. And the tee markers may be ahead of or behind the point on the tee box from which the measurement is made.
A monument or sign at the Tee Box indicates the point from which the measurement is taken.