The Yang-Mills Lagrangian gauge invariant under an $SU(N)$ tranformation can be written as
$${\cal L} = -\frac{1}{4}F_{\mu\nu}^i F^{i\ \mu\nu} \tag1$$
(Sum over $i$ implicit)
This Lagrangian contains a term of the form
$${\cal L'} = -g·f_{ijk}A_\mu^i A_\nu^j\partial^\mu A^{k\ \nu} \tag2$$
$f_{ijk}$ are the structure constants.
Under charge conjugation, the self-adjoint gauge field transforms as
$$A_\mu \rightarrow -A_\mu \tag3$$
And therefore Eq. (2) isn't charge conjugation (${\cal C}$) invariant while the other terms in the complete Lagrangian (Eq. (1)) are invariant. This implies that the QCD Lagrangian isn't ${\cal C}$-invariant.
But is this correct or what am I misunderstanding?
Also, you can't just pick $A_\mu \rightarrow A_\mu$ because in that case the couplings to matter, i.e., $J_\mu A^\mu = \bar{\psi}\gamma_\mu \psi A^\mu$ wouldn't be ${\cal C}$-invariant since $J_\mu \rightarrow -J_\mu$; as you can check in Invariance of the QED Lagrangian under charge conjugation