However, 12 of the sunglasses tested did not meet the standard that is mandatory in Australia but voluntary in New Zealand.
Half of the failed sunglasses were bought at discount stores.
Some failures could harm those wearing them.
A $10 pair of women's sunglasses had one lens visibly darker than the other, which could cause the wearer to misjudge the distance of moving objects. A $2 pair of men's glasses bought at a discount store also had one lens darker than the other, and didn't meet UVB protection requirements.
A brand of kids' Dora the Explorer sunglasses has been taken off the shelves because they don't do enough to block the glare of the sun.
Nickelodeon Dora the Explorer SUDO74157, were among those that failed the Consumer NZ tests.
The distributor, Pegasus Group said it would remove the product from shelves and do additional tests. Director Kieran Harrison said the sunglasses had been mislabelled.
A list of all sunglasses tested can be found at www.consumer.org.nz