When parking your vehicle parallel to the curb on a level street:

When parking alongside the curb on a level street, the front and back wheels of your vehicle must be parallel with and within 18 inches of the curb.
DMV Writen Test