[Display omitted] • Green microwave-synthesized S,N-CQDs have been fabricated from natural sources. • Nitroxynil was assessed by quenching of S,N-CQDs and acriflavine fluorescence. • A comparative study of greenness, whiteness, and blueness was performed. • Successful determination of nitroxynil in various matrices was achieved. The presence of veterinary drug residues in edible animal tissues endangers human health and safety, accordingly, global nations enacted legislative restrictions to monitor their concentrations in food. In this work, we introduce two fluorimetric sensors for determining nitroxynil (NXL), a crucial veterinary medication, in various matrices. Sensor I, novel nitrogen and sulfur-doped carbon quantum dots (S,N-CQDs), was fabricated from strawberry and leek juices as cheap and sustainable natural resources. Only five minutes of microwave radiation were required as a rapid synthesizing technique without any drastic conditions or organic solvents. The S,N-CQDs manifest blue emission using λ ex/em of 340/418 nm. The synthesized nanosensor was characterized using UV Spectroscopy, transmission electron microscopy (TEM), and Fourier-transform infrared spectrometry (FTIR). Sensor II was the acriflavine reagent (AV) that exhibits native fluorescence using λ ex/em of 265/505 nm. Both sensors displayed quantitative turning off in their native fluorescence by increasing concentrations of NXL (1.0–10.0 and 0.5–8.0 µg mL−1) with correlation coefficients r = 0.9998 and 0.9999 for sensors I and II, respectively. The two probes achieved satisfactory percentage recoveries and standard deviation (SD < 4) for NXL assessing in complex matrices of diverse food samples (bovine muscle, kidney, and fat) and Fasciolar® veterinary formulation. Additionally, they have been successfully used to detect the investigated drug in river ecosystems with a mean %recovery of 100.10 ± 1.70, and 99.95 ± 1.31 for sensors I and II, respectively. The two constructed sensors' specificity has been confirmed for all tested matrices reflecting their feasibility as promising platforms in therapeutic drug monitoring, livestock ecosystems, food safety assurance, quality control of drugs, and environmental pollution monitoring. Quenching mechanisms for both methodologies were studied and the reaction stoichiometry for NXL − AV complex was calculated in two ways. Lastly, a comprehensive comparison was performed between the suggested methodologies and published fluorimetric works. The greenness feature was assessed by the Analytical Eco-scale (AES), Green Analytical Procedure Index (GAPI), and Analytical GREEnness Metric Approach (AGREE). In addition, white analytical chemistry principles were checked to assess sustainability criteria using the RGB 12 algorithm. The recently launched Blue Applicability Grade Index (BAGI) metric tool was also employed to assess the practicality (Blueness) character. [ABSTRACT FROM AUTHOR]