Level
AA
Since
WCAG 2.0
Entries
100 / 193
/ WCAG criterion

1.4.3 Contrast (Minimum)

Text has to stand out from its background: at least 4.5:1, or 3:1 for large text.

/ What it requires

Text has to be readable against whatever is behind it. The measure is a contrast ratio between the text colour and the background colour, from 1:1 for identical colours to 21:1 for black on white. Pale grey on white, white on a light brand colour and text laid over a photograph are hard to read for people with low vision or reduced contrast sensitivity, and for anybody holding a phone in sunlight.

Normal text needs at least 4.5:1. Large text, defined as at least 18 point or 14 point bold (about 24 and 18.66 CSS pixels), needs at least 3:1. Images of text are held to the same numbers, and the values are not rounded: 4.499:1 does not pass. The criterion exempts text in inactive controls, pure decoration, text nobody can see, text that is an incidental part of a picture, and logos or brand names.

/ How pages fail it

  • Body text or captions are set in light grey on white, a combination that often lands below 4.5:1.
  • Placeholder text in form fields is paler than the text typed into them and falls under the threshold.
  • White text sits on a light brand colour in buttons, badges and banners.
  • Text is placed over a photograph or a gradient with no solid layer behind it, so parts of it disappear.
  • A translucent panel or a reduced opacity on the text lowers the ratio that the stylesheet colours suggest.

/ How to check it yourself

  1. In Chrome or Edge, inspect a text element and click the colour swatch next to color in the Styles pane. The picker shows the contrast ratio and whether it meets AA.
  2. For text over images use a free eyedropper tool such as the Colour Contrast Analyser and sample the lightest and the darkest point behind the letters.
  3. Check the states too: links, hover and focus colours, placeholders, error messages and text on buttons.
  4. Confirm the size before you apply 3:1. Text below 24 pixels, or below 18.66 pixels in bold, counts as normal text.

/ How to fix it

  • Darken the color value or change background-color until the pair reaches 4.5:1. On white, #767676 is about the lightest grey that passes for normal text.
  • Style placeholders explicitly with the ::placeholder selector and a colour that reaches 4.5:1 against the field.
  • Put a solid or semi-opaque background-color behind text that sits on an image, or darken the image itself with an overlay.
  • Do not mute text with opacity. Pick a colour that passes on its own, because opacity blends the text into whatever is behind it.
  • Store checked colour pairs as CSS custom properties, so every component draws on the same palette.

/ What our scanner checks

The rendered pass takes each visible text element, blends every translucent background layer and ancestor opacity into the colour actually behind it, and compares that with the text colour. Typed text and placeholders in form fields are measured separately, and HTML_CodeSniffer adds its own calculation from the CSS. Text over an image or a gradient is handed to a person, and hover or focus colours are not measured.

/ Who fails it, in our own measurements

Measured bodies failing this criterion, most instances first
BodySectorInstancesScore
Szczecincity · PL1243
Teatr Wielki Opera Narodowaculture · PL1113
Zielona Góracity · PL977
Elblągcity · PL8820
Social Security Administrationgovernment · US71-
Lublincity · PL6917
Uniwersytet Śląskieducation · PL688
Uniwersytet Marii Curie-Skłodowskiejeducation · PL599
Muzeum Narodowe w Warszawieculture · PL5311
Urząd Komunikacji Elektronicznejgovernment · PL5325
Uniwersytet Ekonomiczny w Krakowieeducation · PL5215
Opolecity · PL518
Düsseldorfcity · DE489
Bundesverfassungsgerichtgovernment · DE4418
Radomcity · PL432
Częstochowacity · PL4021
Smithsonianculture · US3914
Gorzów Wielkopolskicity · PL386
Bundesministerium für Bildung und Forschunggovernment · DE368
Universität Heidelbergeducation · DE3621
Narodowy Instytut Dziedzictwaculture · PL326
Wrocławcity · PL322
Gliwicecity · PL3113
Phoenixcity · US311
Bundesministerium der Justizgovernment · DE307
Ludwig-Maximilians-Universität Müncheneducation · DE2812
Nürnbergcity · DE285
Trybunał Konstytucyjnygovernment · PL2814
Karlsruher Institut für Technologieeducation · DE2719
Katowicecity · PL2412
Gdańskcity · PL222
New Orleanscity · US227
Federal Aviation Administrationtransport · US2014
Białystokcity · PL1937
Los Angeles Countygovernment · US1810
Stiftung Preußischer Kulturbesitzculture · DE1821
Uniwersytet Warszawskieducation · PL183
Bundesnetzagenturgovernment · DE179
Deutsche Rentenversicherunggovernment · DE175
Chicago Transit Authoritytransport · US164
Gdyniacity · PL167
Politechnika Łódzkaeducation · PL165
Robert Koch-Instituthealth · DE1610
Uniwersytet im. Adama Mickiewiczaeducation · PL1612
Centers for Disease Controlhealth · US148
NASAgovernment · US1420
Narodowy Instytut Zdrowia Publicznegohealth · PL1425
LA Metrotransport · US1317
Statistisches Bundesamtgovernment · DE139
Zamek Królewski w Warszawieculture · PL1316
Berlincity · DE1141
AGHeducation · PL1054
Technische Universität Müncheneducation · DE1012
University of Floridaeducation · US923
Uniwersytet Jagiellońskieducation · PL91
Bundesministerium des Innerngovernment · DE810
Humboldt-Universität zu Berlineducation · DE835
Politechnika Poznańskaeducation · PL84
Warszawski Uniwersytet Medycznyeducation · PL813
Bundesregierunggovernment · DE74
Department of Justicegovernment · US727
Nashvillecity · US714
Frankfurt am Maincity · DE640
Toruńcity · PL611
University of Texas at Austineducation · US621
Uniwersytet Wrocławskieducation · PL613
Veterans Affairsgovernment · US633
Poczta Polskagovernment · PL516
Prezydent RPgovernment · PL512
Bostoncity · US46
Główny Urząd Statystycznygovernment · PL416
Komisja Nadzoru Finansowegogovernment · PL48
PKP Intercitytransport · PL42
Sosnowieccity · PL428
Austincity · US313
Biblioteka Narodowaculture · PL317
Bundesagentur für Arbeitgovernment · DE316
Centrum e-Zdrowiahealth · PL360
Freie Universität Berlineducation · DE37
Houstoncity · US37
State of Texasgovernment · US322
Szkoła Główna Handlowaeducation · PL312
Denvercity · US239
Deutsche Bahntransport · DE26
Harris Countygovernment · US219
Koleje Mazowieckietransport · PL217
Politechnika Warszawskaeducation · PL212
Uniwersytet Gdańskieducation · PL218
Baltimorecity · US17
Bundesratgovernment · DE114
Dresdencity · DE115
Miami-Dade Countygovernment · US120
National Weather Servicegovernment · US134
Olsztyncity · PL18
Państwowa Inspekcja Pracygovernment · PL110
Philadelphiacity · US18
Poznańcity · PL11
Rzeszówcity · PL18
State of Washingtongovernment · US18
Tychycity · PL120

One page per body, measured by automated checks on a weekly schedule. Any body that has fixed something since the last sweep will show it at the next one, and every entity page carries a right of reply.

/ Questions about this criterion

What contrast ratio does WCAG AA require?

At least 4.5:1 between normal text and its background, and at least 3:1 for large text. The same numbers apply to text inside images. The ratios are not rounded, so 4.499:1 fails. Level AAA raises the bar for normal text to 7:1 under 1.4.6, and the parts of controls and graphics that are not text are covered separately by 1.4.11.

What counts as large text in WCAG?

Text of at least 18 point, or at least 14 point when it is bold. With the usual conversion that is about 24 CSS pixels, or 18.66 CSS pixels in bold. Text of that size needs a contrast ratio of 3:1 instead of 4.5:1. Anything smaller is normal text, even when it is set in capitals or in a heavy typeface.

Do logos and disabled buttons have to meet the contrast ratio?

No. The criterion sets no contrast requirement for text that is part of a logo or brand name, for text in an inactive user interface component, for pure decoration, or for text that is an incidental part of a picture with other significant content. Everything else a visitor is meant to read has to meet it, including placeholder text and text on active buttons.