I lived in SF on 30k in 2010-2011. It's entirely doable. (Although the fact that it's doable is no excuse for the miserable salary I was paid. I worked in publishing, which everyone with a literature degree wants to break into, and thus, the entry-level pay is notoriously bad.)