There was some uppercrust controversy at the annual Palm Beach Coconuts bash.

The exclusive all-male Coconuts gang, which currently includes David Koch and Leonard Lauder, has thrown the area’s hottest New Year’s Eve bash since the ’30s.

Guests traditionally wear black-tie while the dapper Coconuts don white dinner jackets and red carnations.

But new chairman, sugar baron Alex Fanjul, has deep-sixed the look.

“We broke with tradition as Alex ditched [white jackets] for traditional black,” said a Coconut. “A great time was had by all.”

But an insider griped: “There was not much to change in the Coconuts . . . but people feel they have to do away with tradition.”