The Mystery Flag

Based on these flags:


Which country does this flag belong to?



The separated letters in the beginning of the country names describe the colors used in the corresponding flags. Thus A is white, R is blue, G is yellow, F is red, and P is green. Therefore the fifth country should begin with the letters A, F, and G. The only possible option is Afghanistan.