Two D-π-A acrylonitriles, (Z)-3-(4-methoxyphenyl)-2-(pyridin-4-yl)acrylonitrile (1) and (Z)-3-(4-piperidin-1-yl)-2-(pyridin-4-yl)acrylonitrile (2), were synthesized to investigate how the varying donor moieties affect their structural and optical properties. Compound 1 crystallized with two crystallographically independent molecules, each showing different orientations of the methoxy group, and exhibited herringbone molecular arrangement in the solid-state. This structure is stabilized by CH···N/π interactions, π-stacking, cyano···π stacking (CN···π) and a σ-hole tetrel bond involving the C and O atoms of the methoxy group. Compound 2 crystallized with a single molecule in the asymmetric unit and displayed columnar packing mode. This structure is stabilized intermolecular CH···N interactions, where all nitrogen atoms serve as acceptors, as well as by intermolecular CH···π interactions and π-stacking between adjacent pyridyl rings. Hirshfeld surfaces and 2D-fingerprint plots revealed the effect of donor moieties on the intermolecular interactions. The energetics of the molecular dimers observed in these structures were characterized by both CLP-PIXEL energy and DFT calculations. The nature of the tetrel bond was characterized using molecular electrostatic surface potential and deformation electron density maps. Theoretical charge density analysis was performed to characterize the noncovalent interactions in various molecular dimers of 1 and 2. The absorption spectra of compounds 1 and 2 exhibit a 40 nm red-shift in solution, attributed to the presence of the piperidyl moiety in compound 2.