In MacOS There's an accessibility setting in System Settings > Accessibility > Display called "Differentiate without colour" that adds some extra affordances like on and off icons in the switches. I forget what else, but I always have it on because it makes things even more obvious in a way that it feels like OS programmers used to take more seriously in an era before the flat design idiocy.
There’s another option for high contrast that makes things look more like old Macs. I think it looks better, regardless of accessibility considerations.