Three atoms can be connected to the carbon atom with sp2 hybridization of a molecule.As sp2 hybridization for three sp2 hybrid orbitals which can only be connected to three other atoms.As an example is the ethene molecule(C2H4) which have 2 Carbon atoms with sp2 hybridization and one Carbon atom is connected with two hydrogen atoms and one carbon atom.