Yerba Buena Lighthouse is an active USCG base and is not open to the public. The lighthouse is visible from the Oakland ferry as it passes from Oakland to San Francisco.
To learn more of the history of California's majestic lighthouses, click on the link above to purchase "Lighthouses of the Golden State"