Light-independent shader in Cycles
You can get the transparent background for free. Just enable Transparent under Render > Film.



In case there really is no way around the green screen, use an emission shader for your plate, set its color to green and disable all Ray Visibility options except Camera Visibility.