Curbs painted yellow or red indicate:

Some restricted parking areas are indicated by painted curbs. A curb painted red designates a fire lane. A curb painted yellow may indicate a loading zone, or another parking restriction.
DMV Writen Test