Initially struggling at 89-4 after being sent in to bat at the Basin Reserve, Green took charge of a recovery effort alongside Mitchell Marsh, who contributed 40 runs.
Displaying resilience, the 24-year-old Green reached his century in the last over, hitting his 16th four, concluding the day unbeaten at 103, while Josh Hazlewood was yet to score.
“Obviously it feels really good, mainly with where we were as a team,” Green said.
“It was a pretty tough wicket out there … someone just needed to bat through so glad it was me. Was nice to stick it out, and hopefully put a semi-competitive total on the board.”
Green, batting at number four, fought back after New Zealand seamer Matt Henry took the key wickets of Steve Smith, Usman Khawaja and Marsh to end with 4-43 on a green pitch.
Henry dismissed Smith for 31 before lunch, bowled Khawaja for 33 after the break then snagged Marsh and Nathan Lyon, for five.
Scott Kuggeleijn, restored to the side, also grabbed two wickets, removing out-of-form Marnus Labuschagne for one and Alex Carey for 10.
Black Caps rising star Will O’Rourke, who took nine wickets on his debut this month, bagged two more in the shape of Travis Head (1) and Mitchell Starc (9).
Green said the wicket would still offer plenty for the Australian quick bowlers on Friday.
“It’s pretty close, I reckon they are just on top,” he said.
“They have a quality batting line-up and we have to bowl well tomorrow.”
Marsh and Green offered the main resistance with a 67-run partnership off 77 balls.
“We’re all very proud of him, probably more with the way he went about his innings. He looked calm from ball one,” Marsh said of Green.
“It was a fantastic innings to get us back in the game.”
After winning the toss, Tim Southee and New Zealand’s pace bowlers were frustrated by Smith and Khawaja as they put on 61 before Henry got the breakthrough.
Smith, promoted to open for the second Test in a row after the retirement of David Warner, lasted 71 deliveries, crunching four boundaries.
Henry induced him to play back to a delivery that nipped and took the edge, with wicketkeeper Tom Blundell collecting a sharp diving catch in front of first slip.
Labuschagne departed after a defensive knock, getting a thick outside edge to Daryl Mitchell at slip off Kuggeleijn, with Khawaja and Head following in quick succession.
Henry’s inswinger took out the stump of Khawaja before Head went after O’Rourke but clipped the ball to Blundell.
Marsh crashed six fours and a six before Henry struck again straight after tea, with Australia’s Twenty20 skipper attempting a pull shot that landed in Blundell’s gloves.
Carey departed for 10 before O’Rourke had Starc caught at second slip.
Pat Cummins was trapped lbw by spinner Rachin Ravindra with Henry taking his fourth when Lyon was also caught behind.
“That was a hell of a knock from Cam Green today, but in general, we did a good job,” said Henry.
“Hopefully tomorrow morning we can finish the job.
“We created enough pressure for a long period of time, but it’s Test cricket and can change just like that.”
New Zealand are looking for a first Test victory over Australia since 2011 and came into the two-match series on the back of a 2-0 sweep against South Africa this month.
(With inputs from AFP)