8 Black text on a light-grey background is easier to read than in a white background because less light is reflected behind the text.
What color text looks good on green background. And 3 Darker text on lighter backgrounds were rated higher than lighter text on darker backgrounds. Yellow amber text on a deep blue background has excellent readability as does amber or green on black. Shades of Gray Yes Really 373D3F or Raven is my lightest gray within a AAA accessibility rating.
While Purple text is a bad choice. Yellow is another font color that one should use with the blue abstract background while using both in combination with each other. White text is a good choice.
This is why old dumbterms vt100 vt52 etc went for these colors. What color text looks good on a black background. When using Green as the background color.
Blue text is a bad choice. I and everyone I know must have astigmatism because Ive tried every major color combination I could think of and black text on a white background always wins except for people who have their brightness or contrast turned up too high. The ratios have been scientifically calculated to ensure that text can be read by those with moderate low vision and that contrast is sufficient enough for those who have color.
Also as Riverwire said make the font bold. What font color is best for red background. If it makes it easier constraints can be put on the hue saturation or brightness of the backgrounds andor the text color as necessary.
Orange text is a bad choice. A black background behind light text. 1 Black and white were consistently rated as the most readable.