HERE’S a Yankee Doodle Doozy of an idea from the taxman: if you’ve had enough of the United States and choose to renounce your citizenship, you will now have to give up a large chunk of your assets.

The same new tax also will hit foreigners who are living and working in this country legally – with a so-called green card – once they decide to return home.

In fact, anyone who has $600,000 in assets and a lust for becoming a citizen of France, Italy or maybe an island in the Pacific should take note of this one.

Thanks can be given to a bill that passed Congress recently and was quietly signed by President Bush two weeks ago.

Called the Heroes Earnings Assistance and Relief Act of 2008 (the HEART bill, for short), the main part of the new law deservedly gives benefits to soldiers. But the last part of the bill, under “revenue provisions,” sticks it to anyone who no longer wants to live the American dream.

A hot button topic in recent years has been the fight against immigrants trying to get into this country. This bill now takes a hard line against emigrants – people trying to get out.

Consider the tax an exit fee.

Tomorrow, of course, is Independence Day, so I’m not, by any means, going to advocate that people should leave the US, no matter how difficult the economy might be right now or how intemperate the weather might become at times.

But just in case you have ever entertained that idea, Congress has just made it wise for you to reconsider.

“This marks a dramatic shift in policy,” said John Olivieri, a tax partner with New York law firm White & Case LLP. “This is a further extension of the US tax net.”

The new law, bill JCX-44-8, reads like this: “In general, the provision imposes tax on certain US citizens who relinquish their US citizenship and certain long-term US residents who terminate their US residency. Such individuals are subject to income tax on the net unrealized gain in their property as if the property had been sold for its fair market value.”

The first $600,000 of your assets are protected. But after that, the assets – including your house, car, the Dali painting your mother left you – are “marked-to-market,” as they say on Wall Street. In other words, someone takes a stab at the value of your assets and then you are presented with a tax bill.

Olivieri thinks this’ll keep out people we want to work in this country.

“I wonder what the long-term implications are,” he said. “It’s onerous. You might have to come up with cash you don’t have to pay taxes on gains that might never be realized. Will the world’s talent decide they don’t want to work in the US anymore?”

So enjoy the Fourth of July. You and your money will be here for a while.

*

My readers probably remember Vernon Hill, the former head of Commerce Bank, who was shown the door right before his company was acquired by a Canadian financial institution.

Hill got in a jam with regulators because he was, among other things, allowing his bank to build branches on property that he happened to own.

These days, Hill is not only trying new business ventures that I chronicled in a column a few months back, he’s also commenting on the issue of executive ethics for bankstocks.com.

Ironic, no?

Well, the other day Hill decided to criticize a deal from earlier this year in which Citi group bought a money management firm called Old Lane Partners for $800 million so that Vikram Pandit – who ran the firm – would be able to join Citi.

“Now, $40 billion in writedowns later, [Citi’s] being run by a man (Vik Pandit, of all people) who’s never been a CEO, never run a public company, never made a loan and never run a bank. Only the CEO is up by $165 million. Nice work if you can get it,” Hill wrote.

I should mention that Commerce Bank for years paid Shirley Hill, Vernon’s wife, millions of dollars to decorate its lookalike branches?

Now that’s nice work if you can get it!

john.crudele@nypost.com