It happened on Bisso Lane just before noon.
A FedEx delivery driver and his assistant were exposed to a chemical called organophosphorus, an insecticide.
The two reported feeling dizzy as they were delivering a package that got damaged in transit, according to Contra Costa fire officials.
The two firefighters were then also exposed to the chemical, and went to the hospital.
If you're on the ABC7 News app, click here to watch live