Three photoluminescent complexes containing either Zn or Cd have been synthesized and their structures determined. Bis[4-amino-3,5-bis(pyridin-2-yl)-1,2,4-triazole-κN,N]bis(dicyanamido-κN)zinc(II), [Zn(CHN)(CN)], (I), bis[4-amino-3,5-bis(pyridin-2-yl)-1,2,4-triazole-κN,N]bis(dicyanamido-κN)cadmium(II), [Cd(CHN)(CN)], (II), and bis[4-amino-3,5-bis(pyridin-2-yl)-1,2,4-triazole-κN,N]bis(tricyanomethanido-κN)cadmium(II), [Cd(CHN)(CN)], (III), all crystallize in the space group P-1, with the metal centres lying on centres of inversion, but neither analogues (I) and (II) nor Cd complexes (II) and (III) are isomorphous. A combination of N-H...N and C-H...N hydrogen bonds and π-π stacking interactions generates three-dimensional framework structures in (I) and (II), and a sheet structure in (III). The photoluminescence spectra of (I)-(III) indicate that the energies of the π-π* transitions in the coordinated triazole ligand are modified by minor changes of the ligand geometry associated with coordination to the metal centres.