New Zealand has become the first country in the world to fly an intersex flag at Parliament.

The yellow and purple flag is one of four flags flying to celebrate the International Day Against Homophobia, Biphobia, Intersexism and Transphobia (IDAHOBIT) on May 16.

Intersex people are born with any of several variations in sex characteristics, such as chromosomes, sex hormones or genitals, which do not fit the definitions of typical male or female bodies.

The yellow and purple colours of the flag are both gender neutral.

Green MP Jan Logie tweeted an image of the flag, showing it alongside the rainbow, transgender, and bisexual flags.