Some states specifically allow motorist to cross the yellow line to pass a bicycle or a slow moving vehicle, provided it is safe to do so. FL law specifically says bicycles. In August, after the CO Governor signs their new cycling law, it will be legal there as well.
Read YOUR state law closely, because there is a good chance it is also legal in your state.