Bond length ∝ atomic size.
Higher is the atomic size, higher is the bond length and vice versa.
Hydrogen has the lowest atomic size. Hence, H−H has the lowest bond length.
Iodine has the highest atomic size. Hence, I - I has the highest bond length.
The bond length (pm) of F2,H2,Cl2 and I2, respectively is 144,74,199,267.