@MaplewoodStreet I don't think I know enough about shaders but I can help you troubleshoot it at the very least.
First, try and print your COLOR variable, check what it's giving. it should be (r, g, b, 1) where the letters are the respective values of the colour you are calling.
My hypothesis is that since it's only shades of green you have and divide by 3, it's giving you a number too small to equate so it goes directly to the else statement. Try doing it again without |/3| and tell me what happens.