It’s not a significant part of genetic divergence. Humans also have a striking
lack of genetic diversity in the first place, due to factors like a severe population bottleneck 2 Mya.
One of the races is “black”, but since most Africans are black, and all humans have African ancestry, the idea of coming up with a genetic basis for “blackness” is completely useless. It would be difficult to come up with some kind of genetic basis for that category that is somehow useful to science, somehow includes most black people, and somehow excludes most non-black people.
It is more useful to talk about genetics in terms of (recent) ancestry. Ancestry is reasonably useful for things like screening for genetic conditions. You want to screen for sickle-cell anemia? Recent African ancestry is a reasonable thing to look for; blackness is a poor proxy. Recall that skin pigmentation is more about what latitude your ancestors are from, and not about what specific part of the world they are from.
(I’ve used the term “African ancestry” to refer both to long-term ancestry and more recent ancestry here, I hope that the usage is clear from context.)