 Ytterbium forms both dihalides and trihalides with the halogens fluorine , chlorine , bromine , and iodine . The dihalides are susceptible to oxidation to the trihalides at room temperature and disproportionate to the trihalides and metallic ytterbium at high temperature : 
