A three-component condensation of 1,2,3-triazole chalcones, malononitrile, and sodium alkoxides afforded 6- and 4-(1,2,3-triazol-4-yl)substituted nicotinonitriles in 44–78% yields, possessing pronounced fluorescent properties. The quantitative characteristics of fluorescence were assessed, the relationship between the nature of substituents and the position of absorption and fluorescence bands was revealed.