Avoid using color as a way to convey your message. Use multiple means of communicating the message and avoid relying on color alone.
While Creating a Document
When creating a document, you want it to be as accessible as possible to convey the information to everyone. Color is important for this, as it may directly interfere with conveying information to someone. If your document has a high contrast between text and background, more people can see and use the content.
Ensure that text displays well by using the Automatic setting for font colors. Select your text, and then select Home > Font Color > Automatic.
There are two programs that are recommended to use for checking color contrast issues. There are articles explaining the difference between the two of them and also how to utilize them. They are How to Check Color Contrast with A11Y and How to Check Color Contrast with Colour Contrast Analyser (CCA)
To View and Listen to a Video Tutorial:
Select the link below to watch and/or listen to the tutorial: