Trace amounts of chromium and/or vanadium that get substituted for aluminum in an emerald's crystal structure during formation are responsible for the green colors.