It's worth noting, you may have crossed a solid white line, instead of a solid yellow line. That being said, the exact status of the solid white line in California is annoyingly unclear.
Reference: http://www.mercurynews.com/2012/09/28/can-you-cross-a-solid-...