This kind of LED dice is made from elements of “AlGaInP”, so it must contain the P (Phosphorous) element.
Regarding the P element itself, we can confirm it is neither Red nor Yellow Phosphorous, but just the pure Phosphorous.
Therefore, you may not need to worry about the material risk by the P element.
Thank you.