If you haven't changed icon color, enemy is always red while friendlies are green, no matter if you are bish, knight or rook.
Yellow is used for friendlies in same mission as you.
You can also highlight a specific player by use of the .wingman [CALLSIGN] command. and if you tune into a vox channel, players on your channel will also have a specific color (I don't remember the default)