Basj is correct. The point where the font color changes to white on my system happens at R 127, G 127, B 127.
You will need to experiment on your system to see where it changes. There is not a setting for the font color. It is a built-in algorithm in the software that makes the change based on the RGB values of the color chosen.