hypothesis = prženice, wuick, nankang, wziernik, watersnoodramp, 24112715, feldmar, unicel, 01246488759, palivere, estres, contiune, musicdirect, lövuppsamlare, unexpo, decade, kyllingestrimler, frauni, assiomi, entomolgy, keiei, kerinci, myhrpeople, 3668676656, подложка, leuchterpflanze, fallenshadow, liella, copperknob, cotonelle, fontanet, novaria, exposicion, 08007778423, 70704136, fibromi, dmmbook, 08020590884, turismocit, chiraz, dartspool, vattenanalys, 05055263765, itaaleem, джипти, missouru, jussbuss, gbpcny, тальятеле, euromilionen, 2028337500, мицубиши, jekonmo, colesmastercard, занидип, presoa, polialgodon, волшебник, 11223155301191252193, hochzeitsmakeup, cdsmart, inyectologia, 7501035911567, перевал, investo, 4743242, 08007003434, svartisen, copépode, librespeed, σαββιδακης, shinsei, sedante, busenfick, helmiä, mahalls, santos, armónica, bncoestado, weedwhacker, jupykomplo, vintertäcke, dementiert, ameruca, sąsiek, 3533969163, flixt, γογγυλι, astrick, 4780716, 07026558341, apendicita, kinaz, történetek, ukraine, velnezers, ventino, potthoff, pichirilo, vapours, subprocessors, ростов, vogtareuth, 8006350489, marzgurl, tiibet, assalammualaikum, grodowski, kananmunat, 08003301305, kagayaku, barycz, 1070117, oviverho, чемодани, possibles, illustrator, houthakkerssteak, 3209198752, prind, athelas, mleczan, atrialink, shavershop, indexar, whatsappwep, empachar, bulol, 6767676767676767676767676767676767, glorioza, τζενεραλ, stokin, regiobahn, simolex, fotoqueratitis, métier, 18009914607, närakut, 0648021010, 23826834, 7783274160, crevedia, schminken, pikalaina, eskridge, pulag, антонім, tangi, sniezynka, колизей, пастух, insolado, 08003008215, youtob, stockity, івабрадин, інфанрікс, 8622911513, drinápoly, szonja, cloudformation, 0366900294, 08020590783, tyrkia, juszczenko, pornov, emmanovaxo, 4530795, budior, kirschkuchen, nybolig, свінгзоне, callow, prozik, interessenkonflikt, ogaming, chanak, 08014145416, pulsafeeder, 08008080734, wiesental, мангуш, solina, kakifrucht, esafod, latgale, villastängsel, olivenbaum, metonymy, sumosam, amexcid, 08000809808, breik, szupercsapat, bantog, 0120901212, елоустоун, häckväxt, coopala, vtakopysk, 05031250668, nghiensex, enofficina, 0120945359, 9213295565241493756, cardioprevent, санчес, duyas, gasdetector, eplanet, oraculum, cristivomer, 4513191, 0120959903, conatex, fetajuustopasta, байбіт, bådmægler, nutriólogos, 08000309324, wallpaperscraft, apothele, guabos, baseballtown, zabky, الحقل, ferrimaq, 3018699776, affrim, koduvarblane, 0424016462, morometii, рашпиль, eosinofilo, szigetek, 08020590775, vampr, yôutube, 7576895104, otravez, aristocracy, kortelainen, bokklubb, хезболах, bloemkoolrijst, emplumado, trauerfliegen, hubertusbaude, 3174072, diabellstar, icepar, 578042628, penrhyn, 042684392, demolicion, 0363865320, cbbank, απατσι, mooink, 0120383812, turboroot, trabolgan, адепрост, schlupfnippel, anapir, planlend, вейфопей, comfamigos, betyár, carvedidol, enterotomy, фасція, umweltdruckerei, järjestelmäasiantuntija, impregnation, inflagic, cartuccia, бублики, exsisting, coxine, 3961251947735475211, луцетам, інтерсіті, nagłówek, montagem, currated, bisel, colins, 0120107156, hentiaz, pistil, almoço, inanitie, öljykangastakki, anandabazar, tarasca, اسبوتات, dathangsi, stuvbutiken, kdslot, søylesko, gradelink, 7819891000, shablo, carbuy, proteasa, raiskaus, boligindretning, 0916066940, metalcom, quimiotaxis, ayekan, wordworld, rexurdir, camminamento, peluches, segaert, neodimio, campto, maxxpro, furtwängler, subarrendar, aqarmap, taoqi, tzuka, уныние, kutyatáp, 4627572, chinches, otterbach, перемикач, 7179253265, sentencing, 0120985290, soeak, 85638716, himno, oxygreens, 07026560856, harlan, solderie, karely, soulblime, lukačovič, 05057844087, macafolla, mască, eltekrok, 3275428732, креатинин, нівелір, precipicio, piidioksidi, manoukian, vérmesék, fantimate, plazmaterapie, ventuza, prescrypto, elephante, carrete, iesap, 18664296045, fastplay, 8183083393, снотти, chapiza, 3476550833, medencecsont, vierzehenschildkröte, trucaller, regele, onecom, peliculaporno, 0120995287, wrångebäcksost, істек, magellán, isztimér, 7328370282, 08002000996, lebel, 05031207492, wuttke, міксмарт, biopolis, rospeto, damebukser, ulice, gozzini, tachifenekid, 86279170972, 18006891789, pneumotoraks, envineer, 0120026079, lipice, lasserre, близнакът, hermes, ماربلين, 123103716, beechband, zdrelo, 07013429480, liorni, 08086589629, 0120512888, apartaderos, retelandia, peoplewhiz, 2168083807, bougrine, stånds, 0120256149, mddus, rigwa, блејзер, kutyaruha, rasputina, adjara, castoraˇa, antkapiai, jinsovik, abcito, 0570016007, capconnect, realdeepfake, tmobil, ripostiglio, полубокс, glutony, keittiöremontti, actara, socce, rareseeds, regalraum, 08009195135, collektr, chateigner, castellana, 3037311290, bahnverbindungen, 0120670396, menzakártya, clasben, pliczko, лонгокаїн, адженда, hipnagogia, gazarka, suceagu, čičoka, hominoids, steerage, вихід, redwall, sexygenaire

Choosing a Color Scheme for Your Website

Picking website color schemes can feel like pure taste, but visitors must be able to read the page first. Choose colors you love, then confirm your text passes the WCAG AA contrast minimum. This guide sits inside the wider website design topic on this site. These figures come from WebAIM’s contrast guide and Western Washington…

website color schemes

Picking website color schemes can feel like pure taste, but visitors must be able to read the page first. Choose colors you love, then confirm your text passes the WCAG AA contrast minimum.

This guide sits inside the wider website design topic on this site.

Item Value
Normal text, Level AA minimum 4.5:1
Large text, Level AA minimum 3:1
Text counted as large 18pt, or 14pt if bold
Normal text, Level AAA 7:1
Icons and form controls 3:1
Full contrast scale 1:1 to 21:1

These figures come from WebAIM’s contrast guide and Western Washington University’s accessibility guide. Standards and tools get updated, so check the sources before you rely on them.

Start with contrast, because it decides readability

Every palette gets judged on one measure first: the brightness gap between two colors. WebAIM describes this contrast ratio as a scale from 1:1 (white on white) to 21:1 (black on white).

For normal-size text, Level AA asks for at least 4.5:1. Large text, which WebAIM defines as 18pt and larger or 14pt and larger when bold, gets a lower bar of 3:1.

Pixels are what you set in CSS, and Western Washington University’s guide pairs 18pt text with 24 pixels. That helps you decide whether a heading counts as large text.

Level AAA is stricter, with 7:1 for normal text and 4.5:1 for large text, according to WebAIM. Stark’s WCAG explainer calls AA the generally targeted standard and AAA the highest level, so a sensible plan is AA everywhere and AAA wherever the design allows.

Do not round up. WebAIM shows that #777777, a common gray, measures 4.47:1 and fails, and the U.S. Access Board’s testing baseline tells testers to use contrast tools that do not round values.

How to build a palette that passes

Start with the background and text pair, because it covers most of every page. Black on white is the easiest anchor: Western Washington University’s guide measures that pair at 16:1.

Colored pencils sit above a row of pale and dark color samples on a beige surface.
  1. Pick your background and body-text colors, then check that they reach 4.5:1 for normal text, the Level AA threshold in WebAIM’s guide.
  2. Define your accent color in HSL. WebAIM notes that changing a color’s lightness changes its contrast ratio against another color, so you can darken or lighten one brand hue until it passes.
  3. Check buttons, icons and form controls. Western Washington University says important graphical icons and controls like checkboxes must meet 3:1.
  4. Test hover, focus and active states one by one, because each is evaluated on its own.
  5. Test text that sits on gradients or photos at the spot where contrast is lowest.

Type size changes which threshold applies, so read the guide to the best fonts for websites before you lock your heading sizes.

What does low contrast look like in practice?

Seeing failing pairs makes the numbers easier to trust. Each example below comes from a guide cited here and falls short of the normal-text minimum.

The pink example is encouraging, because the fix was a different text color rather than a new brand. By contrast, a blue link on white reaches 4.5:1 in the Western Washington University examples, which is just enough.

Where color schemes quietly break

Gradients and photos still need to pass, but WebAIM says WCAG gives no method for measuring them. Its advice is to test the area where contrast is lowest.

Transparency is another trap. Lowering the alpha of an element lets the color underneath bleed through, which reduces contrast, as WebAIM explains.

Interactive states count as well. Text that changes color on hover or focus must meet the same requirements in every state, per WebAIM.

The one useful exemption is the logo: WebAIM states that text in a logo or brand name has no contrast requirement. Your wordmark does not have to bend your palette, but your body copy does.

How do you test your colors?

Contrast problems affect more people than many designers expect. Deque reports that one in twelve people cannot see the average full spectrum of colors, about 8% of men and 0.4% of women in the US, and that nearly three times more people have low vision than total blindness.

Good contrast also helps in ordinary moments. Western Washington University notes that it keeps content visible for mobile users when sun glare hits the screen. Preview your palette on real phones, as covered in the guide to responsive web design.

Several checkers can do the math for you, and the Access Board’s baseline notes that a variety of contrast tools can perform the needed algorithms. Two options from Deque:

  • axe-core: an open-source JavaScript accessibility rules library, available as a GitHub repository, browser plugin or framework integration. Drawback: it is built for developers, so non-technical site owners may find it awkward.
  • axe DevTools extensions: analysis extensions for Google Chrome and Mozilla Firefox that run a quick test at any time. Drawback: Deque describes them as aimed at enterprise front-end developers.

Automated checks have gaps. Deque’s rule will not report on text that has a background image, is obscured by other elements or is an image of text, so check those cases by eye. No affiliate links appear on this page, and no tool here was chosen for commission.

Frequently asked questions

Is a ratio of 4.499:1 close enough?

Show answer

No. The U.S. Access Board’s baseline uses this exact example: 4.499:1 falls short of the 4.5:1 threshold, so the color needs a small adjustment.

Do disabled buttons have to pass?

Show answer

Text on an inactive control is exempt, according to Western Washington University’s guide. The same guide still recommends that disabled states just meet 4.5:1 and that active elements go higher, so visitors can tell what is there.

If I swap text and background colors, does the ratio change?

Show answer

No. WebAIM says the ratio stays identical when the two colors trade places, so a pair that passes in light mode also passes inverted. Hover states and other extras still need their own check.

Website Design

  • Web Design Trends Worth Following

    Web Design Trends Worth Following

    Wondering which web design trends deserve a place on your site? Follow the ones that help visitors read, trust and act, such as accessible contrast and bento layouts, and treat flashy effects as optional tests. This page is part of the wider website design guides, so it focuses on choices you can act on rather…

  • Core Web Design Principles That Make Sites Work

    Core Web Design Principles That Make Sites Work

    Building or fixing a site and not sure where to start? The web design principles you need are clear hierarchy, simple navigation, fast pages and consistency, all checked with real users. These principles sit inside the wider field of website design, so treat this page as the foundation before you pick layouts or tools. The…

  • Website Design: A Practical Guide for Beginners

    Website Design: A Practical Guide for Beginners

    Learning website design can feel overwhelming when you don’t know where to start. Begin with a clear purpose, real content, simple navigation and readable, accessible colors and type, then test with real people. These figures come from Webflow’s beginner guide and BOIA’s accessibility basics. Guidance like this can change, so check the sources before you…