24 June 2016 Last updated at 07:17 BST
Speaking as results came in, Mr Gething said: "There's still a big anti-politics feeling.
"We've got to understand that, show that we are prepared to listen and act."
Welsh health secretary Vaughan Gething says there is a broader challenge for those who are "positive" about the European Union after the EU referendum.