Halliwell parried Andrew Considine's swerving long-range effort and Jeffrey de Visscher's shot from just inside the box was deflected wide.
Brian Easton smashed in a shot from 20 yards out, which Langfield turned past the post. Easton then had two efforts blocked in a frantic goalmouth scramble following the corner.
The game was won when Nicholson's brilliant pass split the Accies defence and Diamond slotted in off the post despite Halliwell getting a touch.
Hamilton fought back and Stevenson had a powerful shot blocked at the near post before Offiong headed just wide of the top corner.
Hamilton pushed forward and were almost caught on the break when Derek Young released Walker, but the on-loan teenager shot straight at Halliwell.
Mark McLaughlin headed wide from Parratt's cross before Langfield pulled off a late, last-ditch save from James Grady after the veteran striker had latched on to a long ball.
"I can't fault any of my players," Accies boss Billy Reid told BBC Sport. "They gave me everything.
"Our shape was good and we defended well, although we didn't have much to do at the back.
"We passed it well and our front three looked sharp. We looked a threat every time we went up the park."
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.
Bookmark with:
What are these?