---
title: "Color contrast checker for text and captions"
description: "Check two colors against WCAG 2.2: the contrast ratio, AA and AAA for normal and large text, and colors picked from your own picture. Free."
url: "https://viewgum.com/tools/color-contrast-checker"
last_updated: "2026-11-27"
agent:
  instructions: "Use this search API to find ViewGum pages by keywords or a plain question instead of crawling them. Results are the best matching passages, as JSON, or as Markdown when you send Accept: text/markdown."
  endpoint: "https://viewgum.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://viewgum.com/llms.txt"
---

> https://viewgum.com/tools/color-contrast-checker as Markdown. Every ViewGum page is listed at https://viewgum.com/llms.txt; add .md to any of their addresses for this form. To make shorts from an AI assistant, connect ViewGum: https://viewgum.com/agents

# Color contrast checker for text and captions

Last updated November 27, 2026

Pick a text color and a background, or take the background from a picture by clicking it, and read the contrast ratio as WCAG 2.2 measures it, from 1:1 to 21:1. Normal text needs at least 4.5:1 for AA and 7:1 for AAA; large text needs 3:1 and 4.5:1. It runs in your browser.

## How to check color contrast

1. Pick the text color and the background color, or type their hex codes.
2. Or drop a picture and click it to take the background from it.
3. Read the ratio and which WCAG levels it meets, for normal and large text.

## What contrast ratio does text need?

WCAG 2.2 asks for at least 4.5:1 between text and its background (level AA), or 7:1 for the stricter AAA. Large text needs 3:1 for AA and 4.5:1 for AAA. Logos and pure decoration have no requirement.

## What counts as large text?

At least 18 point, or 14 point when bold, as WCAG's understanding document puts it. On screen that is about 24 and 18.7 CSS pixels.

## How do I keep captions readable over video?

A video's background changes from frame to frame, so check the caption color against the lightest and the darkest parts of the shot it sits over. A dark box behind white text keeps one known background and so one known ratio.

## How is the ratio worked out?

Each color's relative luminance is worked out from its red, green and blue values, then the lighter one plus 0.05 is divided by the darker one plus 0.05. The checker cuts the result to two places rather than rounding it, so 4.499 shows as 4.49 and fails 4.5.

## Is my picture uploaded?

No. A picture you drop is read in your browser to pick colors from it, and nothing is sent.

## Sources

1. [W3C WAI: Understanding Success Criterion 1.4.3, Contrast (Minimum)](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html) Checked November 27, 2026
2. [W3C WAI: Understanding Success Criterion 1.4.6, Contrast (Enhanced)](https://www.w3.org/WAI/WCAG22/Understanding/contrast-enhanced.html) Checked November 27, 2026

[Make a short in ViewGum from a topic, with captions set on a readable box](https://viewgum.com/shorts?ref=tool-color-contrast-checker&from=/tools/color-contrast-checker)

Making videos for a business? See [what to post, by industry](https://viewgum.com/for), and the [plans and prices](https://viewgum.com/pricing).
