A green or blue background is mostly used on video or cinema to be replaced by another background because you need to "automate" the process when you have hundreds or thousands of frames.
But in photography, it is not always the case.
If you have time to plan, the color you choose depends on the finished product. It would depend if the finished look is high key or low key, if the product has some rim light, if you will keep the projected shadows, etc.
In my opinion, just use the color that will most likely fit the finished look.
Because you want the least color contamination possible this reduces to white, gray, or black, but in the case of black you need it to be darker than the shadows, so you have a clean border.
Depending on the project, a photo can be extracted with something simple as a magick wand selection or using some kind of blending mode. But you need to light the background as evenly lighted as possible.