4-8% of US servicemen in WWI were African Americans. About 5% of France’s troops in Europe were colonials. I didn’t find numbers for the British, who used colonial troops extensively (mostly Indian) but they mostly did not use them on the western front.