Use lynx.lss to get rid of black background
In my experience, changing the color settings in lynx.cfg does not get rid of the black background.
Instead, edit the file named /etc/lynx.lss
Look for these lines:
# If you really want the terminal's default colors, and if lynx is built using
# ncurses' default-color support, remove these two lines:
normal: normal: lightgray:black
default: normal: white:black
Put a # at the beginning of the last two lines.
If you don't have root access to the machine running lynx, copy the file to your home directory, edit it and add
to your .bash_profile
I've done this with lynx 2.8.6rel.5 on both local and remote machines.