Gemstones are translucent or opaque?
Yes.
Diamond is made of carbon, and many plastics also contain
carbon.
Polystryene, polycarbonate and many other plastics are also
transparent, while mercury (a liquid) is not.
It's to do with the atomic/ molecular structure, and whether the
molecular structure allows light transmission.