Your screen capture is showing the color in the Pages panel of InDesign using a dark or medium dark theme set in InDesign Interface Preferences.
The version of Mac OS X has nothing to do with this whatsoever.
It's the way InDesign displays the dark theme. It's one of the downsides of using a dark theme. You don't get enough contrast of an element against a dark panel. If you switch to the light theme it will be easier to view.
If you have suggestions about how to change the way a theme is handled, you could post them as a feature request here: