STMicroelectronics uses RoHS Compliance Grades to classify their parts. Example series is STM32G473CE. From the manufacturer’s website, under the Quality & Reliability tab, will list the RoHS Compliance Grade. The parts for STM32G473CE series are listed as Ecopack2.
More information about Compliance and ECOPACK® grades meanings can be found here.