The main symbol of the Mauritanian flag is that of the moon and stars, elements that are reminiscent of Islam. As for the yellow color of these, it was chosen to refer to the Sahara desert. You have all the information in: «The flags of Africa: images and capital of each country«.

You have all the information in: "The flags of Africa: images and capital of each country".