Make sure your default foreground and background color combinations provide sufficient contrast.
Color should not be used as the only way of conveying information or identifying content. If a color and only the color conveys important information, provide an alternative way of obtaining this information or change the graphic.