Static limit of quantum chromodynamics