Effects of tensile, compressive, and zero strain on localized states in AlInGaN/InGaN quantum-well structuresUsing photoluminescence ͑PL͒ spectroscopy, we carry out a comparative study of the optical properties of ͑Ga,In͒͑N,As͒ and ͑Ga,In͒͑N,As,Sb͒ quantum wells. The incorporation of Sb into ͑Ga,In͒͑N,As͒ results in a reduced quantum efficiency at low temperatures but an improved one at room temperature ͑RT͒. A PL line shape analysis as well as the temperature dependence of the PL peak energy reveals the existence of band-tail localized states in both material systems. The carrier localization energy is larger for ͑Ga,In͒͑N,As,Sb͒ than for ͑Ga,In͒͑N,As͒, leading to a longer radiative lifetime and thus a reduced quantum efficiency at low temperatures for the former material. The thermal quenching of the quantum efficiency is analyzed by a rate equation model, which shows that the density of nonradiative centers is reduced in ͑Ga,In͒͑N,As,Sb͒ resulting in an enhanced quantum efficiency at RT.