Opposites attract, and they’re certainly easier to read together. When creating any visual document, it’s important to choose colors with good contrast that bring out the best in each other.
It helps to think of your colors as light, medium and dark. Make sure text in the light or medium color on a background of the dark color is light enough to stand out and be legible. The light should be legible on the medium background as well. This ensures that the colors will work together.
Sites like color.adobe.com are great for discovering interesting new contrasting color combinations.