Tranparent color replacement

I would like to replace the old color with the lower layer image. ( so we can change the green screen video object with other image
Any idea?