The international standard ISO 12312-1 proposes transmittance tests that quantify how dark sunglasses lenses are and whether or not they are suitable for driving. To perform these tests a spectrometer is required. In this study, we present and analyze theoretically an accurate alternative method for performing these measurements using simple components. Using three LEDs and a four-channel sensor we generated weighting functions similar to the standard ones for luminous and traffic lights transmittances. From 89 sunglasses lens spectroscopy data, we calculated luminous transmittance and signal detection quotients using our obtained weighting functions and the standard ones. Mean-difference Tukey plots were used to compare the results. All tested sunglasses lenses were classified in the right category and correctly as suitable or not for driving. The greatest absolute errors for luminous transmittance and red, yellow, green and blue signal detection quotients were 0.15%, 0.17, 0.06, 0.04 and 0.18, respectively. This method will be used in a device capable to perform transmittance tests (visible, traffic lights and ultraviolet (UV)) according to the standard. It is important to measure rightly luminous transmittance and relative visual attenuation quotients to report correctly whether or not sunglasses are suitable for driving. Moreover, standard UV requirements depend on luminous transmittance.