Unlike the black resin used for general disc parts (transistors, diodes, etc.), the LED uses a transparent encapsulation resin that is not filled with filler.
LeDs are made of transparent sealing resins that are not filled with fillers, unlike black resins used in common discrete parts (transistors, diodes, etc.).