reliability = 3475828157, whatappweb, khakabo, bedeutungsschwanger, kathakali, съдържание, ecologic, desogen, posesion, 05038163995, planningpme, 8889187313, waimart, vental, teletech, arkgrit, scanogram, figurella, sitnsleep, 05057844087, studenterhuset, aniffiea, conjyclear, 0120197491, hatterkepek, ticarlinat, монастирище, fisicoculturistas, housenow, vitybell, bastain, езопротект, mongoloid, biggest, 3533932864, снукър, yahoo, transluncani, celes, jnkmn, 4712423, namin, 3282470573, fdown, anvitra, الساقيه, teamécses, velyvelo, heterocyclic, скрічери, primosale, kifli, батерија, majagua, tempa, saetta, antiantiart, primijeniti, majomparádé, kannda, gobelé, 4347336, πουκαμισασ, braes, educlimber, icyveins, أماكن, 0120362013, wpnpl, جاكيت, 08007590420, 8007435000, algifor, pimxec, compresometro, 09090115080, rueca, trofee, 5128379500, analorgasmus, 3466085126, biberón, 8559731040, română, ángela, agapantos, mumla, brēmanis, bandaje, torrentes, shmungus, penpalsnow, fióka, flyflv, αλαχιωτη, wikiki, astigmatic, esend, microfalosomia, مانزوكيتش, 3883511600, rudzka, baustellenabsicherung, corre, kleist, skilhunt, histaminum, inizi, заліщики, djakovica, sparger, predecible, украса, audiible, 18772338552, sparkofphoenix, cuadro, scorts, 0647916881, weltgeschichte, konfliktuskezelés, utnba, 0120979880, bancarización, bujor, gymlab, аккаунт, 10328799164586114558, märchenfilm, tella, agripin, rygle, datavent, especializaciones, restograf, shararat, тіколін, vinhos, σινδυ, hilfebedürftigkeit, videosnporno, syanai, 8089131751, lievance, 2486345, يوريفين, varzim, хлоропирамин, playnation, коновалець, metafizika, focimeccs, tajador, пінка, rapeludt, terrestres, avantouinti, squalid, αγρινιοπρεσ, 3895626469, novoxican, 15061240797687996013, 8322395437, bodrio, 696854, 6162883500, increíble, glora, pedometru, pfeige, ailefroide, casinoplusph, colisprive, 08072820970, lablink, 3392328, фастофен, ulaval, rajmont, sterogyl, 3444355898, дунав, 3206162134, полифем, 05031250677, kondipark, incrst, clavadista, 30683032227, 07026559446, aerolineas, afrikaans, preludyo, plastiek, kokisch, 3895761280, 0362748232, artisou, ontario, 0364339748, arquera, 3509332441, sgdtwd, метрополь, vihannespunkki, lukang, ієрсиніоз, 3284350016, sailauf, 3270375146, listränta, evenium, byviruzz, симитли, escualita, молоковідсмоктувач, lella, 43224478, árvacsalán, branddreieck, blowpop, evlay, buhol, chodsko, lievegem, traktorilavetti, šmykľavka, топлофикация, adarutovideo, λεικερσ, asignado, 0120406278, 3711852646, flowerchimp, classroomed, uccumo, чакры, ангіографія, 3317477976, tandberg, 6789997897, ardauli, الرخام, oleandar, quatres, profile, comentarii, cfiax, mietschuldenfreiheitsbestätigung, auperdrug, 7242864981, 3508494536, 0120501075, postzegel, surran, vertikal, hagyja, royaleapi, zorra, unconditional, retinols, zoodles, карапузов, oilseeds, фотопереклад, зиомицин, 7052421446, قسطرة, penerjemah, سباسفون, coronilla, oshad, speedfast, silmänpainetauti, légtechnika, handdoek, 8336370667, bissare, vanataie, lenmag, fatoni, agrijobs, whitelotus, hierontapallo, gullregn, ecale, 4717810, 3313133403, 0120958928, scalar, einstein, σοφλιχ, donauverlauf, 03519965784, 01925939976, valkenpower, مجموعه, hypoteky, gabão, firefox, dolarizacion, edifer, wienerberg, ütközések, гипертрофия, 5128310965, 3508755727, 0345872723, 05031335959, 036001808, вакансіі, angebotsvorlage, jpupskirt, электромясорубка, liwliwa, 0120554142, kegger, бакучиол, conversed, pezole, syphilitic, parramatta, прослуховування, céder, 4924781, ajvarkyckling, obejma, pichocos, métoidioplastie, антибиотика, зефема, dacriocistografia, nirpol, viendo, 0120001237, localitatea, clubmanager, lafoirefouille, rfhnbyrf, moonhopper, rainstory, baustein, fogyasztásmérő, 28184000, 2197031374, traverso, hollstadt, 8005543257, 6097963138, 0120096531, mitsumine, هليوبلس, directexpress, vastagos, bogoshorts, jucka, перикардит, 3477640922, контрафакт, 0570666186, سترلينج, elefántcsontpart, puding, dmmcfd, aquaserv, kalbo, 7742274410, dockge, 10886581059465095515, henkidama, pisterajat, 2814563050, schousen, fiskarfänget, remicital, 30717810607, pipebamid, коллапс, 5510548020, ashtead, isofix, 0120101604, 2164000736, alcancías, 8007620276, buchstabenkette, 0368471449, deduccion, бедняков, defektjavító, лаеннек, entertainmart, 05031991197, lepedő, milharado, sandifer, zuhanycsaptelep, inkapelis, gigacable, deindustrialization, momoparadise, clascharts, hoangto, 3516588893, الانستجرام, планетофбетс, oksetyksteg, відеодомофон, changlun, lenscare, epithete, hydrosafe, waliye, полиестер, inalienabile, nikeid, faletics, rinomicine, asentra, noxidil, 0120990178, диверсія, электрогитары, 05031042023, tapioca, kanilang, несквік, sjoow, 0368588878, laminoir, kaempferia, sinaí, 3202586897, eishaie, spackle, raburesu, рабепразол, 0273319000, fjederklemmer, fyldepen, inasible, sketchers, καμεσεξ, nevadzka, primcillin, genuphobia, карповик, ascet, μερακλης, azaelea, chrismis, quintessential

Color Contrast Requirements and How to Test Them

Worried your text is hard to read, or that it will fail an audit? The color contrast requirements are short: a ratio of 4.5:1 for normal text and 3:1 for large text. Here is how to check your colors and fix failures. This guide is part of our series on web accessibility basics. These figures…

color contrast requirements

Worried your text is hard to read, or that it will fail an audit? The color contrast requirements are short: a ratio of 4.5:1 for normal text and 3:1 for large text. Here is how to check your colors and fix failures.

This guide is part of our series on web accessibility basics.

Item Value
Normal text, minimum contrast 4.5:1
Large text, minimum contrast 3:1 (at least 18 point, or 14 point and bold)
Icons and meaningful graphics (WCAG 2.1) 3:1 against adjacent colors
Possible ratio range 1:1 (white on white) to 21:1 (black on white)
Rounding A ratio of 4.499:1 does not meet 4.5:1

These figures come from the Access Board’s ICT Baseline contrast page and WebAIM’s contrast article. Standards and guidance can change, so check the source before you rely on them.

What the color contrast requirements say

The core rule is WCAG success criterion 1.4.3, Contrast (Minimum). The Section508.gov color contrast post states that meeting it ensures the visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for large text, which needs at least 3:1.

Contrast ratio is the brightness difference between two colors. WebAIM explains that it runs from 1:1, such as white on white, to 21:1, such as black on white. The higher the number, the easier the text is to read for people with low vision or color blindness.

The rule covers “images of text” as well as live text. If a banner or screenshot contains words, those words need the same contrast, and a text description does not excuse a weak ratio. Our guide to alt text best practices covers how to describe such images for people who cannot see them.

Large text, exceptions and rounding

The lower 3:1 ratio applies only to large-scale text. The Access Board’s baseline defines it as at least 18 point text or 14 point bold text.

The same page gives a test shortcut. If the ratio is under 4.5:1, check that it is at least 3:1 and that the font is at least 18 point (24 pixels), or at least 14 point (18.5 pixels) and bold at a font weight of at least 700.

Three exceptions exist, according to WebAIM: large text, incidental text and logotypes. Section508.gov lists them like this:

  • Text that is part of an inactive interface component, pure decoration, or not visible to anyone has no contrast requirement.
  • Text that is part of a logo or brand name has no contrast requirement.
  • Large-scale text only needs 3:1, not 4.5:1.

Do not round. The Access Board states that a ratio of 4.499:1 would not meet the 4.5:1 threshold, and WebAIM likewise warns that you cannot round a contrast ratio up to 4.5:1.

Contrast beyond text: buttons, icons and graphics

WCAG 2.1 added criterion 1.4.11, Non-text Contrast. WebAIM notes it moves contrast requirements beyond text, asking for a ratio of at least 3:1 against adjacent colors for user interface components and graphical objects.

In practice this means the visual information needed to identify a control, such as the border of a text field or the state of a checkbox, should stand out from its surroundings. Icons that carry meaning, like a magnifying glass without a text label, need the same 3:1 treatment.

Here is a point that trips people up. The Section508.gov color accessibility page says 1.4.11 is not required by Section 508, though it still calls following it a best practice. Many organizations and contracts ask for it anyway, so check what yours requires.

Where Section 508 fits in

As that same Section508.gov page explains, when Section 508 standards apply, all software, web content, and documents must meet the color usage standards in WCAG 2.0 AA. That includes 1.4.3 for contrast and 1.4.1 for use of color.

Use of color means color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element. A red error message with no icon or text cue fails this rule even when its contrast ratio is fine.

This site is independent and does not give legal advice. For the authoritative text, read the standards themselves through the links above.

How to test color contrast

Testing takes a few minutes once you have the foreground and background colors. Follow these steps:

  1. Pick the text or component and note its foreground and background colors, ideally from the stylesheet rather than a screenshot.
  2. Enter both colors into a contrast checker. Section508.gov points to the WebAIM Contrast Checker and the Colour Contrast Analyser, which has a built-in color sampler.
  3. Confirm the tool does not round values. The Access Board advises using contrast tools that do not round values.
  4. Compare the result with 4.5:1 for normal text or 3:1 for large text, and with 3:1 for icons and control boundaries.
  5. Repeat for each state: hover, focus, active and disabled where relevant.

The Access Board notes that a variety of color contrast tools can perform the algorithms needed to determine the contrast. Pick one your team can use consistently, so results are repeatable.

Watercolor palettes and brushes surround a blank white sheet on a wooden surface.

Contrast tools check what sighted users see, not how a page is announced, so pair them with a guide on how to test with a screen reader for the other half of a basic audit.

Tricky cases: gradients, images and state changes

WebAIM states that text over gradients, semi-transparent colors, and background images still needs to meet contrast requirements, but WCAG does not provide any guidance on how to measure their contrast. In that situation, test the worst spot: the point where the text sits on the lightest or darkest part of the background.

Hover and focus styles deserve the same attention. WebAIM points out that CSS can define hover, focus, or active states for interactive elements, so a link that passes at rest can still fail when it changes color.

Some design tools help. Section508.gov notes that Microsoft Word’s Accessibility Checker warns when text is hard to read, and that the color Red in many Microsoft applications fails to meet the minimum contrast standard.

Frequently asked questions

What contrast ratio do I need for body text?

Show answer

Body text needs at least 4.5:1 against its background under WCAG 1.4.3. Only large-scale text, meaning at least 18 point or 14 point bold, can drop to 3:1.

Does a logo have to meet contrast rules?

Show answer

No. Section508.gov says text that is part of a logo or brand name has no contrast requirement, though readable branding is still kind to your visitors.

Is non-text contrast required by Section 508?

Show answer

According to Section508.gov, the 1.4.11 criterion comes from WCAG 2.1 and is not required by Section 508, which it describes as a best practice. Your agency or contract may still ask for it.

Can I round a near miss up to the threshold?

Show answer

You cannot. WebAIM says a ratio cannot be rounded up to the minimum, so a result just below it needs a darker or lighter color.

Web Accessibility

  • Writing Alt Text That Actually Helps

    Writing Alt Text That Actually Helps

    Not sure what to type in that alt box? These alt text best practices come down to one idea: say what the image does on the page, briefly, and leave the alt empty if it only decorates. This guide is part of our series on web accessibility basics, and it focuses on one small habit…

  • Keyboard Accessibility: Making Every Control Reachable

    Keyboard Accessibility: Making Every Control Reachable

    If you can’t use a mouse, a single unreachable button can end your visit. Keyboard accessibility means every link, button and field works from the keyboard alone, and you can check it in minutes. This guide is part of our web accessibility basics series. These facts come from the Understanding page for keyboard operation and…

  • Caption and Transcript Requirements for Accessible Video

    Caption and Transcript Requirements for Accessible Video

    You have a video to publish and want it accessible. The accessible video captions requirements are simple to state: accurate, synchronized captions for dialogue and key sounds, and a transcript for audio-only content. This guide is part of our wider look at web accessibility basics, where captions sit alongside the other core habits. These figures…