Google Workspace guide

Color Contrast in Google Docs: How to Pass WCAG

Learn what WCAG 2.2 AA contrast ratios mean in Google Docs, how to check text colors, and when an automatic darker color needs review.

Color contrast affects whether people can read text against its background. A document may look clear on one screen and nearly disappear on another, especially when it uses light gray labels, muted accent colors, or text over a photo. Checking the relationship between foreground and background colors is a practical way to catch a common readability problem.

Contrast is important, but it is only one part of document accessibility. A passing ratio does not fix vague link text, missing image descriptions, or confusing structure. Use this guide to understand the common WCAG 2.2 AA contrast requirement, review color in Google Docs, and choose changes that preserve meaning.

What WCAG 2.2 AA says about text contrast

WCAG 2.2 Success Criterion 1.4.3, Contrast (Minimum), requires a contrast ratio of at least 4.5:1 for normal text and images of text. Large-scale text has a 3:1 minimum. The criterion includes exceptions for incidental text, pure decoration, and logotypes. Read the official W3C understanding document for the full criterion and its context.

The ratio compares the relative luminance of the text color and its background. It is not a measure of how attractive two colors are, and it does not depend on hue alone. A bright green and bright red may be distinct to some readers but still have poor light-dark contrast. A calculator uses the color values to estimate whether the pair reaches the target.

The 4.5:1 AA threshold applies to normal-sized text. WCAG defines large text as at least 18 point, or 14 point when bold; those sizes use the lower 3:1 threshold. Do not choose a larger font solely to avoid improving a color pair if the document is otherwise difficult to read. The goal is clear content for the reader, not a technical shortcut.

Find color combinations in Google Docs

Inspect text that carries instructions, labels, links, captions, or important distinctions. Pay attention to light gray text on white, colored text on colored highlight, headings that use a low-contrast brand shade, and text over images. Check the text itself against the actual background behind it, not against a nearby white margin.

Google Docs' own accessibility guidance recommends high color contrast and links to contrast-checking tools. A checker generally needs the foreground and background color values. If you do not know a value, use a color picker or inspect the document's custom color settings. A sampled color may be inaccurate if the text is anti-aliased or sits on a changing image, so use a representative solid color and review the result visually too.

For a link or heading, verify the full text's foreground and background. If a paragraph sits on a shaded callout, use that callout shade in the calculation. If text overlays an image, the background can change from one line to another; adding a solid backing or moving the text may be more reliable than selecting one sample pixel.

Choose a fix without changing meaning

When a text color falls below the target, a darker foreground often improves contrast on a light background. A checker may suggest or apply a darker color. Review the change before keeping it:

  • Confirm it affects only the intended text or selection.
  • Check that the new color still distinguishes the right category or state.
  • Recalculate the ratio if the background is not plain white.
  • Review nearby links and headings for consistent, readable treatment.
  • Use Undo if the change affects more text than intended.

An automatic color adjustment can correct a measurable issue without understanding the document's design. It might make a link and ordinary text look too similar, alter an intentional status color, or fail when the background is an image. Treat it as a focused edit, not as an automatic accessibility certification.

If changing the foreground is not enough, consider adjusting the background, adding a solid fill behind text, or moving the text to a clearer area. Avoid using color as the only sign of meaning. For example, a red status should also have a label such as “Overdue,” so readers who cannot distinguish the color receive the same information.

Do not mistake a visual estimate for a full audit

Contrast checkers analyze color pairs. They do not determine whether a text block is a heading, whether a table is navigable, whether the document reads in a sensible order, or whether an image description is accurate. They may also miss text that is embedded in an image or affected by transparency, gradients, and overlapping shapes.

A checker can flag possible low contrast and point you to the affected text. When it offers a darker color, examine the suggested change and apply it only if it makes sense. Then check again. The person editing the document remains responsible for reviewing the result in context.

Make a contrast review part of document editing

Before sharing a Google Doc, look at headings, links, footnotes, captions, and callouts. Check both the normal view and, if possible, a screen with different brightness. Do not rely only on a brand palette that looks good in a logo; small text needs enough contrast against its background. If a document uses a table, check its cell text and fills individually.

You can also review non-color aspects: use real heading styles, informative link text, descriptive alt text for meaningful images, and readable text size. The WCAG 2.2 recommendation covers many more needs than contrast alone, and Google's Docs guidance explains ways to organize text, images, and tables.

Access Check can scan a Google Doc for low-contrast text and suggest a darker color, along with other common issues. It only changes the document when you choose a fix, and the check runs inside Google. See Access Check for current details. Use its findings as a starting point, then review the colors, meaning, and reading order yourself.