Welcome aboard the RoadTrip America Forums!
According to both the CalTrans site and Google Maps, CA-1 (the Coast Highway) is still closed to all traffic for about a six mile stretch almost smack dab in the middle of its Los Angeles to San Francisco portion. While you could conceivably drive around that bit, there are a few other sections where the highway is down to one lane and traffic has to alternate. I would, therefor, suggest that you get your Coast Highway 'fix' in the San Francisco area, either going south to Big Sur or north to Point Reyes National Seashore, as day trips while there.
That leaves you with two possible routes between the L.A. area and either San Francisco or Yosemite, CA-99 and/or I-5. I'm a big fan of using different routes whenever possible and in your case it also makes the most sense. From Santa Barbara to Yosemite, you'll have to backtrack a bit towards Los Angeles on US-101 to just north of Oxnard where CA-126 east to I-5 north to Mettler. At that point take CA-99 (freeway quality) north to Fresno and then CA-41 north into Yosemite. You would then take CA-120/I-205/I-580 west into the Bay Area. Heading south from San Francisco to Los Angeles, take I-580 east out to Tracy and get on I-5 the rest of the way.
AZBuck