Emeralds are formed of a mineral called beryl whose chemical formula is a complex mix of beryllium, aluminum, silicon, and oxygen. The color comes from additional traces of chromium and vanadium.
Beryl is Greek in origin, according to baby-name site The Bump. It is derived from beryllos, Greek for the color of the sea. It also comes from beryllium, a sea-green mineral or sea stone.