EDIT: Woah! I completely missed the fact that your text spaces are actually inside the labels themselves, so your solution could very well be reached in CSS. Instead of providing you with this answer here, it seems that Cook's answer already does just that!
I will leave this answer here so that you can see how the syntax might look for a jQuery solution, although I would certainly suggest using pure CSS!
As you mentioned in the comments, you are open to jQuery solution, so below I have provided it.
Here is an example: https://jsfiddle.net/j7n9zyaj/
And the code:
//When a checkbox/radio is clicked... $('input[type=radio], input[type=checkbox]').on("click", function() { var $t = $(this); //If it checked if ($t.is(':checked')) { //Add the green class to the parent $t.parent().addClass("greenText"); } else { //Remove the green class from the parent $t.parent().removeClass("greenText"); } });
And you just need to add this simple class to your CSS:
.greenText { color: #78A025 !important; }
Santi source share