Accessible Color Palette

See the contrast of every color pair in your palette at once, fix the ones that fail and export the pairs that pass. Checking a single pair? The Color Contrast Checker has you covered, and the Color Wheel finds colors that go together.

Start from a palette

More palettes

Or test a gallery palette: Sunset, Pastel, Ocean, Earth tone or Neon - or grab the colors of any site with Website Color Palette.

Your palette 6 / 12

Click a swatch to pick a new color, or type a hex code. Names are yours to change.

0 of 0 pairs pass AA WCAG 2.2 - normal text needs 4.5:1
0%

Rows are text, columns are backgrounds. Click a cell for details - arrow keys move around.

PNG gridMeasuring the file size...

How to check a palette for accessible contrast

  1. Add your colors. Paste 2 to 12 colors in any format, start from a preset, or edit the color chips one by one.
  2. Read the grid. Rows are text colors and columns are backgrounds. Every cell shows the contrast ratio and an AA, AAA, large-text or fail badge.
  3. Filter and fix. Show only the pairs that pass AA, AAA, large text or UI parts, then apply a Fix palette suggestion to make more pairs pass.
  4. Export the results. Download the accessible pairs as CSS classes, a JSON report or a PNG grid, or save the palette for your design app.

Got your colors from a logo or a photo? Grab their codes with the Image Color Picker and paste them straight in.

WCAG 2.2 contrast levels in one table

WCAG compares the relative luminance of two colors and gives a ratio from 1:1 (no contrast) to 21:1 (black on white). Each level sets a minimum ratio.

What you checkAAAAARule
Normal text (body copy, labels, links)4.5:17:11.4.3 / 1.4.6
Large text - 24px, or 18.66px bold3:14.5:11.4.3 / 1.4.6
UI parts - icons, input borders, focus rings, chart lines3:1-1.4.11
Logos and disabled controlsNo requirement-

Most laws and policies - the ADA in the US, the European Accessibility Act, Section 508 - point to level AA. AAA is the gold standard for long reading and for apps used by older people.

"Large text" is about real rendered size. 18pt is 24 CSS pixels, and 14pt bold is about 18.66px - a 16px bold button label is still normal text.

APCA, the draft method for WCAG 3

APCA scores a pair as Lc (lightness contrast) from 0 to about 106. It knows that light text on a dark background reads differently from dark text on light, so a pair can score differently each way round.

  • Lc 90 - preferred for body text, the AAA of APCA.
  • Lc 75 - minimum for body text from about 18px.
  • Lc 60 - text from 24px, or 16px bold.
  • Lc 45 - headlines, large icons and solid UI parts.

APCA is still a draft and not part of any law. Switch it on under Contrast formula as a second opinion - it is often stricter with mid-tones and kinder to dark mode.

How to build an accessible color palette

  • Anchor both ends. Give the palette one very dark and one very light color. Almost every brand color passes against one of them.
  • Split roles. Mid-tone brand colors make great buttons and backgrounds, but text usually needs the dark anchor. Try them all at once with Add black and white.
  • Make shades, not new hues. When a pair fails, a darker or lighter version of the same color keeps the brand feel. The Color Shades generator gives you the whole range.
  • Never rely on color alone. Pair red and green states with icons or labels - check them with the Color vision preview.
  • Test what ships. Gradients and photos change contrast across the area. Test the darkest and lightest parts in the Gradient Generator or the Text on Image Contrast Checker.

Need a starting point? Generate harmonies on the Color Wheel, then bring them here and keep the pairs that pass. Fine-tune single values with the CSS Color Editor.

Frequently Asked Questions

Paste your colors into the palette box - hex, rgb, hsl or color names all work.

The grid then shows the WCAG contrast ratio for every text and background pair, with AA, AAA and large-text badges. The score on top tells you how many pairs pass. For a single pair, the Color Contrast Checker goes deeper.

WCAG 2.2 level AA needs 4.5:1 for normal text and 3:1 for large text (24px, or 18.66px bold).

Level AAA needs 7:1 for normal text and 4.5:1 for large text. Icons, input borders and other UI parts need 3:1 against what sits next to them.

WCAG thresholds are hard limits, so 4.48:1 fails AA for normal text even though it rounds to 4.5.

This tool never rounds a failing ratio up to the threshold it misses - a pair that shows 4.49 really is below 4.5. Fix palette finds the smallest change that makes it pass.

For every color it tries lighter and darker versions with the same hue and chroma in the OKLCH color space, and counts how many more pairs would pass.

It suggests the nearest version that adds passing pairs, plus the one that adds the most. Apply one with a click and undo it just as fast. Want the full range of a color? Try the Color Shades generator.

APCA (Accessible Perceptual Contrast Algorithm) is the contrast method proposed for the WCAG 3 draft. It scores pairs as Lc values and treats dark-on-light and light-on-dark differently, which matches how people actually see text.

It is not a legal standard yet. Use WCAG 2.2 ratios for compliance and APCA as a second opinion.

Yes. Open Color vision and pick protanopia, deuteranopia, tritanopia or achromatopsia.

The whole grid is redrawn as seen with that type of color blindness, the ratios are measured on the simulated colors, and colors that become hard to tell apart are flagged.

Choose CSS under Save results as. You get your palette as CSS variables plus one utility class per passing pair - .navy-on-snow sets both text and background color - with the ratio and level in a comment.

A JSON report and a PNG of the grid are there too, and Save palette as exports the colors for Photoshop, Figma, Procreate, GIMP or Tailwind.

No. Everything is calculated in your browser and nothing is sent to a server - see our Privacy Policy.

The page address holds your palette, so Copy link gives you a link that opens it exactly as it is.

Guides & Tutorials

All 45 guides
Tutorial How to Take a Full Page Screenshot of Any Website Nov 13, 2026 · 6 min read Read Tutorial How to Add a Favicon to Your Website (2026 Setup) Nov 13, 2026 · 4 min read Read Tutorial How to Remove the Background from a GIF (and Keep the Animation) Nov 13, 2026 · 4 min read Read