If your select field is returning the value, is there a reason you want to set the class to the label?
I don’t see anything in your code that would make it not work. Is it adding anything to the body class?
What type of page are you looking at? Is is a single page/post or something else?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users