The current flag of Libya was adopted after the revolution in 2011. It is the same flag that was used during the period of the Kingdom of Libya from 1951 to 1969. After this time the flag was changed by Gaddafi.
This flag continued to be used as a symbol of the opposition to the Gaddafi regime. The flag was first officially recognised by the French, who allowed embassy staff to raise it in early March of 2011. Later that same month it was raised as the official flag of Libya by the official mission to the UN and then later in August at the Arab League.
The white of the crescent moon is to represent peace, the red represents the sword, the green represents pastures as well as Islam, and the black represent the battle.
Previously, Libya had one of the world’s more peculiar flags. In 1969 Ghaddafi introduced a flag that was entirely green with no symbols. This made it the only flag in the world with only one colour. We love a good flag that’s the only of something!
The green was to represent Gaddafi’s political ideology after his green book. It also represents Islam and the green banners of the Fatimid Caliphate. Green also previously was used to represent the Tripolitania region.