On this page

Start by identifying the chart marks and labels that carry information, then check each one against the colors immediately beside or behind it. A bar on a plain background may have one important color pair; a line crossing a gradient or several filled areas may have several. Compare each pair with the accessibility criterion relevant to that element, and make sure readers can also distinguish the data without relying on color alone.
A contrast check is one part of a useful chart review. You will also need to consider text, neighboring data series, and an equivalent description for people who cannot perceive the chart visually. Keep a short record of what you checked so that changes can be reviewed in context.
Identify the color pairs to check
Begin with the information the reader needs to extract. In a bar chart, that might include the bars, their category labels, the axis labels and any values printed on the bars. In a line chart, it might include several lines, point markers and labels. Note which elements explain the data and which are there only to decorate the chart.
For each meaningful element, identify the colors directly beside or behind it. A bar can meet the chart background along its edge, while a number printed inside the bar sits against the bar’s fill. Those are separate pairs. If another label sits outside the bar, check it against the surface behind that label too.
Follow each element across the chart
A mark may cross more than one background color. A line drawn across alternating bands, for example, needs attention wherever it meets a different band. A gradient also changes across its surface, so a single sample may not represent the line’s contrast everywhere. Check representative locations across the gradient, including areas that appear least distinct, and look for other points that need closer examination.
Also identify adjacent colors that convey meaning. Neighboring pie slices or stacked bar segments may need to be distinguishable from one another as well as from the surrounding chart area. Record each relevant pairing in a simple list: element, adjacent surface or mark, and location. This gives you a practical checklist before you start changing colors.
Check the contrast of chart elements
For each pair on your list, obtain the color values for the foreground element and the adjacent surface or mark. If you have access to the chart’s original settings, inspect those values first. A color picker can be useful when you need to inspect an image or an area on screen; check how the particular tool obtains its values and whether those values represent the colors readers will see.
Enter the two values into a contrast checker and note the ratio it reports. Then compare that result with the criterion that applies to the element you are reviewing. The ratio is an input to your decision: the applicable requirement depends on what the element is and how it is used. Confirm the current criteria and any conditions or exceptions in the relevant guidance before deciding whether the result meets them.
Keep the pair and location together
Use a small table or note to keep results traceable. For example:
| Element | Color beside or behind it | What to record |
|---|---|---|
| Value label inside a bar | Bar fill | Text color, fill color and reported ratio |
| Bar edge | Chart background | Bar color, background color and reported ratio |
| Line across shaded bands | Each band it crosses | A separate result for each relevant pair |
| Neighboring pie slices | The other slice | Both fill colors and the result for their boundary |
If a line crosses a gradient, inspect several representative locations rather than treating one background value as the whole surface. Sampling can help reveal a difficult area, but do not assume a few samples prove every point along the line has been assessed. If you cannot obtain a representative value or are unsure how the checker handles an input, consult the tool’s instructions and consider simplifying the design so the relevant colors are easier to assess.
Apply the right criterion to marks and text
Separate your review of chart graphics from your review of chart text. For a graphical mark, ask what information would be lost if the reader could not distinguish it from an adjacent color. A line representing a series, a bar showing a value, or a boundary between categories may be important to understanding the chart. Consider the applicable non-text contrast requirement for such elements, including its conditions and exceptions.
A decorative accent deserves a different decision from a mark needed to interpret the data. Do not assume that every visible line or patch is essential, but do not dismiss a subtle element without asking whether it carries information. If a border separates two meaningful areas, assess the role it plays in making those areas distinguishable.
Text needs its own assessment under the relevant text contrast criterion. Check titles, axis labels, category names, values and explanatory notes against their immediate backgrounds. Where a label moves from a bar to the surrounding surface, review the pairing at each position. A graphical mark passing its applicable check does not establish that text printed on it meets the text criterion.
For the current requirements and guidance, consult Section508.gov’s guidance on accessible color and the Commonwealth of Massachusetts color guidance. If you are working to a particular standard, confirm which version and criteria apply to your chart before making a compliance decision.
Make data distinguishable without color alone
A chart can have carefully checked contrast and still be difficult to interpret if the only way to identify a series is to match its color to a legend. Give readers another way to connect each mark with its meaning. The best choice depends on the amount of information and the space available.
Direct labels put a category name or value beside the relevant mark. In a pie chart, distinct patterns and direct category and percentage labels can work alongside color. For a line chart, consider labeling each line where space permits and using different symbols at data points. For bars, category names and values can clarify what each mark represents. Review the result for crowded or overlapping labels before treating it as finished.
Test the information, not just the palette
Ask someone reviewing the chart to identify each category without using the colors as the deciding cue. Can they follow a line from its label to the relevant data? Can they tell which value belongs to which segment? If the answer is unclear, move or revise the labels, add a pattern or symbol, or reconsider whether the chart has too much information for the available space.
Also prepare an equivalent text description for someone who cannot perceive the chart visually. Describe the chart’s subject and the main comparison or pattern it is intended to communicate. Include the categories and values needed for the reader’s task, or provide them in an accompanying text or table when appropriate. Check that the description agrees with the chart and does not claim a conclusion the displayed data does not support.
Revise and recheck the chart in context
Use your notes to decide what to change. You might adjust a mark or background color, move a label onto a more consistent surface, add a border between adjacent areas, or introduce spacing so that marks are easier to distinguish. Choose changes that preserve the meaning of the data and keep labels connected to the right marks.
A border or separation can help when neighboring areas are difficult to tell apart, but its usefulness depends on the resulting chart. Check the border against the areas it touches and look at whether readers can still identify each category. If you add space, make sure the revised arrangement does not make a relationship or grouping unclear. A new color or border creates new pairings to review; it does not automatically resolve the original problem.
Repeat the checks affected by each change
If you change a bar fill, recheck it against the background, neighboring segments and any text placed inside it. If you move a label, check its new background and confirm that its association with the data remains clear. If you revise a gradient, revisit the locations where marks cross it. Update your recorded values and results so the final review reflects the version readers will receive.
Finally, look at the complete chart in its intended context. Read the title, follow the labels, compare the marks and check the accompanying text. Ask whether a reader can identify each series without matching colors to a legend, and whether the text alternative conveys the information needed for the same task. When a result or criterion remains uncertain, verify it against the applicable guidance before calling the review complete.