Flag of Ayyubid. The Ayyubid dynasty is often represented by the colour yellow. 

"The Ayyubids and Mamluks, who succeeded the Fatimids in Egypt and Syria, retained the association of yellow with the ruler." Jane Hathaway, A Tale of Two Factions: Myth, Memory, and Identity in Ottoman Egypt and Yemen, p. 97.
Own work
Ch1902