Improve contrast of mark name text

Set mark name text to white or black based on YIQ contrast calculation