Green flame might mean something copper burning that shouldn't be. Based on the size of the explosion it looks like there was still a decent amount of fuel.
The inside of the nozzle uses copper for heat dissipation. There were previous cases of green flames with the Raptor, and Elon said it was copper.
The big question is why it was low on methane - bad calculation in the planned consumption, too methane rich during the ascent?
Edit: There are some other comments talking about "engine rich exhaust" that are burning parts of the engine. Still incredible they got it this far.