Which layer of the Earth is the coolest in temperature?

The crust is the coolest in temperature