From NASA’s Earth Observatory:
On October 2, 2017, the MapCam instrument on OSIRIS-REx captured the data for a composite image (above) of the Earth and Moon. The spacecraft was approximately 5 million kilometers (3 million miles) from Earth at the time, about 13 times the distance between the Earth and Moon. (Click here to see the geometry of the shot.) Three images (different color wavelengths) were combined and color-corrected to make the composite, and the Moon was “stretched” (brightened) to make it more easily visible.