what's $L^i_{\mu\nu}$, field strength? If so, it's "square" -what you wrote- is proportional to Killing form (which is essentially a trace); this is gauge invariant since $L$ transforms like $L\mapsto gLg^{-1} $ under gauge transformations.
c.p.
- 1.5k
- 13
- 28