A dead key (a key that does not generate a complete character by itself but modifies the character generated by the key struck immediately after) is indicated with a yellow background to previous the final character.
It's perfect when you write black on white, but not when you write white on black, like in some Terminal configurations.
My question is: Where can I change that color?
Best Answer
This isn't a clean fix, but here's a work around:
Keep the Terminal as Black on White but then go to:
Doing this will change your Terminal (and everything else) to White on Black, but also change the yellow dead key to blue.
You can also turn Invert Colors on and off using a keyboard shortcut if you turn it on in the keyboard preferences: