So long as all roles ahve been moved and nothing is relying on the DC that you want to remove (like DNS, DHCP etc) just run dcpromo on it and it will go through the demotion process, once that is done you can remove it from the domain and recycle it etc.