A Invasive emerging pollutants from wastewater effluent discharge, such as dyes, pesticides, etc., pose a serious threat to the ecosystem. Advanced oxidation processes (AOPs) under visible light irradiation have emerged as a promising technology to overcome toxic and recalcitrant organic compounds. In this work, the impact of operational factors, including the concentration of Fe3+ or Fe2+, [H2O2], the molar ratio (Oxalate/ Fe3+ or Fe2+), and the initial pH, was studied to obtain high efficiency in the degradation and mineralization of such a food dye to reduce their pollution. The study deals with the comparison of the efficiency of UV, LED, and sunlight irradiation on the photocatalytic degradation of the dye using Fe3+/Lig and Fe2+/Lig complexes. The results showed that sunlight irradiation gave a very rapid kinetic and higher degradation efficiency of over 70%. The optimized conditions for the maximum elimination of the dye with a photocatalytic degradation efficiency (98%) and a mineralization rate of 96% were obtained with the Fe3+/Lig complex, based on the Box Benhken surface design analysis. In the presence of H2O2, the degradation reached an equilibrium stage after 15 min (97.57%) for the Fe(III)/Lig system. Moreover, the inhibition effect of inorganic ions on the photo-Fenton performance of Fe3+/Lig and Fe2+/Lig was studied. The study suggests that the use of nanocrystals of hematite as a Fenton reagent for treating textile effluents needs further investigation. The results showed that the proposed models were well-suited to batch treatment under sunlight. This study not only proposes a Fe3+/Lig and Fe2+/Lig system for the elimination of a food dye without adjusting the pH of the medium, but it also provides insight into the best source of light irradiation for the photocatalytic degradation process.