Insufficient color contrast*
Error Report
Insufficient text color contrast with the background.
Why Is This Important?
When text does not have a strong enough contrast with its background, it is unreadable. Additionally, when a student with color-deficient vision due to a mechanical failure or a biological condition perceives, for example, red text (#FF0000) on a white background (#FFFFFF) as yellow text on a white background, the text is also unreadable. Because of this, there are certain color contrast ratios that must be met. We will cover these later on.
To see how red and other colors may be perceived by color blind persons, do a Google Image Search for "color blind simulation."
Cause Of Error
To get this UDOIT result, you will need to have one or more portions of colored text that has less than a 4.5:1 contrast ratio with white (#FFFFFF;), the assumed background color.
Examples
The following color combinations may appear readable to many, but some may see the colors as shades of yellow. To correct the issue, only a slight change in color or in the text's font size and weight had to be made.
Incorrect Example
This is red text on a white background.
This is white text on a Clemson orange background.
Correct Example
This is red text on a white background.
This is white text on a Clemson orange background.
In the mobile app, the Hide and Show Code Links are obsolete. We couldn't hide them without removing them from the web browser view.
Incorrect Example Code
<p><span style="color: #ff0000; padding: 10px;">This is red text on a white background.</span></p>
<p><span style="background-color: #f66733; color: #ffffff; padding: 10px; line-height: 200%;">This is white text on an orange background.</span></p>
Correct Example Code
<p><span style="color: #ee0000; padding: 10px;">This is red text on a white background.</span></p>
<p><span style="background-color: #f66733; color: #ffffff; font-size: 14pt; padding: 10px; line-height: 200%;"><strong>This is white text on an orange background.</strong></span></p>
False Positives and Negatives
Unfortunately, UDOIT is not programmed to detect font size or background color (it's assumed to be white) which can lead to both false positives and false negatives.
To get a false positive (UDOIT results which can be ignored), the following must be true:
- For large text (size
≥14pt bold or
≥18pt), have a contrast ratio of 3:1 or greater between the background color and font color.
- For regular text, have a contrast ratio of 4.5:1 or greater between the background color and font color.
To get a false negative, you need to have text on a colored background which has a 4.5:1 contrast with white but does not have the appropriate contrast ratios listed above for the colored background.
For information about how to identify false results, read More on Color Contrast.
How To Fix It

Within UDOIT, if you click the U FIX IT! button, you will be provided with:
- a sample of the current color combination
- a checkbox that allows you to bold the font
- a checkbox that allows you to italicize the text
- a selection of colors.
The checkboxes are provided so that when you change the color, you can also address the Avoid using color alone for emphasis suggestion. It's strongly recommended that when you do use the checkboxes use the one for bold instead of italics as italics are generally harder to read.
Below the checkboxes are a collection of color swatches. You may choose any that do not generate an x when hovered on. Below, I've replicated your choices. The ones with X or / on them cannot be selected in UDOIT, but the ones with a / can be used on large text if you want to copy the color code and apply that color via the HTML directions. Additionally, please avoid using blue shades for non-linked text.

/ colors: gray, dark yellow, green, orange, yellow orange
x colors: yellow, lime green
Click on a more accessible color then click the Submit button and UDOIT will apply the change.
Return to Top of Tabbed Panel

To fix the issue through the Rich Content Editor, start by clicking the View the source of this issue link for this error in the UDOIT report, copying the text in the Preview, and then clicking the page title above this error to navigate to the page where the error resides. If you do not use the "View the source..." link in the UDOIT report, you will have to manually identify the colored text that needs adjustments.
Once on the page where the issue resides, open the page in editing mode, look for the text you copied or type Ctrl/⌘ + F and paste the text into your web browser's Find tool to locate the text. Once found, select the text and then use the color picker in the Rich Content Editor toolbar to select a more appropriate color. The image below shows which colors are accessible on a white background.
Fully acceptable colors on white backgrounds are:
- Black (#000000)
- Burnt Orange (#993300)
- Dark Olive (#333300)
- Dark Green (#003300)
- Very Dark Gray (#333333)
- Maroon (#800000)
- Green (#008000)
- Teal (#008080)
- Grayish Blue (#666699)
- Purple (#800080)
- Red Violet (#993366)
Fully acceptable colors on white backgrounds that could be confused with links (and thus we ask that you do not use them) are:
- Dark Azure (#003366)
- Navy Blue (#000080)
- Indigo (#333399)
- Blue (#0000ff)
- Royal Blue (#3366ff)
Colors that are only acceptable on white backgrounds if the font is 14pt bold and larger or 18pt and larger are:
- Olive (#808000)
- Gray (#808080)
- Red (#ff0000)
- Sea Green (#339966)
- Magenta (#ff00ff)
/ = can be used on white background if font is > 14pt bold or 18pt.
X = can't be used on a white background.
T = shades of blue we recommend you avoid using for non-linked text.
Return to Top of Tabbed Panel

To fix the issue through the HTML Editor, start by clicking the View the source of this issue link in the UDOIT report, and copying all of the Source text except Line [number]:[space]
. Next, click the page title above this error to open the page where the issue resides, open the page in editing mode, and then click the HTML Editor link in the upper right. Afterward, use Ctrl/⌘ + F to open the web browser's Find tool, paste the text you copied into the Find tool, and locate the colored text. Once found, edit or replace the hexadecimal or RGB color code, located between color:
and ;
then save the page.
To learn more about identifying replacement colors, read More on Color Contrast.
Return to Top of Tabbed Panel
Last Updated January 2017.
Clemson Online