In gluon-fusion Higgs production, two gluons couple to a closed top quark loop, and the Higgs boson couples to that massive quark through its Yukawa interaction. The right panel of the diagram in c shows one explicit colour-flow component: internal at one gluon insertion, then at the other; the colour-neutral Higgs boson insertion preserves the internal color charge. Include both loop orderings. The color charge factor isso the two incoming gluons are projected onto a colour singlet. The Yukawa coupling is , and the vertex has strength . No direct tree-level mass coupling is needed. Integrating out a sufficiently heavy top quark generates an effective interaction proportional to , which is allowed by gauge invariance even though the gluon is massless.
There is also no kinematic obstacle: two massless particles with nonparallel momenta can have nonzero total invariant mass. In particular, head-on gluons have , providing the energy needed for the Higgs boson at the LHC.