How to choose a website color scheme that passes WCAG
Learn how to choose a website color scheme that reflects your brand, establishes visual hierarchy, and passes WCAG accessibility contrast tests.
By Shariq Riaz6 min readMore web design guides
Choosing an effective website color scheme requires balancing brand personality with strict accessibility contrast ratios and clear visual hierarchy. A professional business website palette typically consists of three to four colors: a dominant neutral background, a primary brand tone for structure, and a high-contrast accent color reserved specifically for action buttons and conversion links. Testing all text and button combinations against WCAG 2.2 Level AA contrast requirements keeps your pages readable in bright light and for people with low vision, and removes one of the issues most often cited in accessibility complaints.
When business owners select colors for a new website, personal preference often dominates the conversation. An owner might choose purple because it is their favorite color, or pastel blue because a competitor uses it.
In professional web development, color is a functional tool rather than pure decoration. Color directs the visitor's eye, establishes credibility, and signals what is clickable.
Here is how to build a website color scheme that represents your brand, passes legal accessibility requirements, and drives customer inquiries.
The 60-30-10 rule for website color balance
Interior designers have long used the 60-30-10 rule to balance rooms, and web developers use the same framework to maintain visual harmony:
1. 60% Dominant neutral (the foundation)
The vast majority of your website canvas should consist of clean neutral space. White, off-white, light gray, or very light cream gives your content room to breathe. High-volume body text needs a clean background to remain legible across phones and monitors.
2. 30% Secondary structural color (the brand anchor)
This is your primary brand color, such as navy blue, slate gray, forest green, or charcoal. It appears on navigation headers, footer containers, card borders, and primary section headlines. It grounds your layout and reinforces your brand identity without overwhelming the page.
3. 10% Accent color (the conversion driver)
Your accent color is your visual exclamation point. Reserve it almost exclusively for primary conversion elements: call-to-action buttons, phone number highlights, and active form states. If you use your accent color everywhere, it loses its ability to direct the user's attention.
Review our guide to call to action best practices to see how accent button styling improves click rates.
WCAG contrast requirements: the legal standard
Choosing colors without testing contrast ratios creates legal and commercial risk. As explained in our guide on ADA website compliance, commercial websites face Title III lawsuits when text contrast fails to accommodate visually impaired visitors.
Under the Web Content Accessibility Guidelines (WCAG) 2.2 Level AA:
- Body text contrast (4.5:1 ratio). Any text smaller than 18pt (or 14pt bold) must achieve a contrast ratio of at least 4.5:1 against the background behind it. A light gray font (
#94A3B8) on a white background (#FFFFFF) fails dramatically with a 2.3:1 ratio. - Large text contrast (3.0:1 ratio). Main page headings larger than 18pt need a minimum 3:1 ratio.
- User interface components (3.0:1 ratio). Input field borders and button outlines must maintain at least a 3:1 contrast ratio against surrounding colors so visitors can locate interactive controls.
You can verify all technical criteria using our companion website accessibility checklist (WCAG 2.2).
Color independence: never rely on color alone
Roughly 8% of men and 0.5% of women experience red-green color blindness or other color vision deficiencies. When your website relies solely on color to communicate meaning, these visitors cannot navigate your site.
Follow these color independence rules:
- Required form fields. Do not signal required fields solely with red text. Use an asterisk (
*) or explicitly write "Required" beside the label. - Hyperlinks inside body text. In-text links should feature an underline or distinct typographical styling, not just a colored font that blends in for colorblind readers.
- Error states. When a form submission fails, accompany red border outlines with clear descriptive text explaining the exact problem.
Step-by-step: building your business color palette
Follow this practical sequence to assemble a high-performing web color palette:
Step 1: Select your primary brand color
Start with your established logo color or primary corporate identity. If you are starting fresh, choose a tone that aligns with customer expectations in your sector:
- Financial and legal services often favor deep blues and dark greens.
- Home service contractors favor bold navy, safety orange, and royal blue.
- Medical and healthcare practices favor teal, soft blue, and clean white.
Step 2: Establish your background and text neutrals
Select high-contrast neutrals for your canvas and typography:
- Canvas neutral. Pure white (
#FFFFFF) or an ultra-light gray (#F8FAFC). - Body text neutral. Rather than using harsh pure black (
#000000), select a deep charcoal or dark slate (#0F172A). It provides strong contrast while reducing screen glare. - Card and surface neutral. A subtle gray (
#F1F5F9) to separate featured testimonials or pricing boxes from the main background.
Step 3: Choose an energetic accent color
Your accent color should contrast sharply with both your neutral background and your primary brand color.
- If your primary brand color is deep navy, an amber gold, coral red, or vivid emerald provides clean contrast.
- Test your proposed accent button color with white text and black text using the WebAIM Color Contrast Checker. Choose the text color that achieves at least a 4.5:1 ratio.
Step 4: Define semantic feedback colors
Every functional website needs functional feedback colors for notifications:
- Success green. For confirmed form submissions and active states.
- Error red. For form validation failures and missing fields.
- Warning yellow. For important service alerts or scheduling cutoffs.
Sample color palettes for service businesses
Here are three tested color palettes that balance brand credibility with WCAG accessibility compliance:
| Industry | Background (60%) | Brand primary (30%) | Accent CTA (10%) | Contrast rating |
|---|---|---|---|---|
| Commercial contractor | Light off-white (#F8FAFC) | Deep charcoal (#1E293B) | Safety orange (#EA580C) | Passes WCAG AAA (7.5:1) |
| Legal / Financial firm | Crisp white (#FFFFFF) | Classic navy (#0F2A4A) | Warm gold (#B45309) | Passes WCAG AA (5.2:1) |
| Healthcare practice | Soft ice blue (#F0FDF4) | Deep teal (#0D5C75) | Coral pink (#E11D48) | Passes WCAG AA (4.8:1) |
Applying structured color schemes reinforces your overall page flow, as explained in our guide to UX design principles for business websites.
Testing your palette across real devices
Never evaluate your website color scheme solely on a high-end designer monitor in a dim office. Real customers view your website under varying conditions:
- Outdoor sunlight test. Open your website on a smartphone in direct mid-day sunlight. If low-contrast text or subtle gray borders disappear, increase the contrast between your text and background.
- Grayscale desaturation test. Convert a screenshot of your webpage to grayscale using a photo editor. If your primary conversion buttons blend into the surrounding content when color is stripped away, your buttons lack sufficient tonal contrast.
- Battery saver mode. Many phones dim the screen in low-power mode or bright sunlight, so low-contrast text gets harder to read. Ensure your headlines and contact buttons remain legible on dim displays.
Review your current website for these five frequent color errors:
- Light gray body copy. Low-contrast gray text is the single most common accessibility violation on the web. If text looks faint on an office monitor, it is completely illegible on a mobile phone outside.
- Rainbow syndrome. Using five different bright colors across headlines and backgrounds creates visual chaos. Restrict your layout to your chosen three-color system.
- Bright background colors behind long paragraphs. Reading black text over an electric blue or yellow background strains the eyes within thirty seconds. Reserve bright colors for call-to-action buttons rather than paragraph containers.
- Using the accent color for non-clickable text. If your primary conversion buttons are bright amber, do not style random headline words in amber. Visitors will assume the text is a link and try to click it.
- Ignoring mobile night mode. Many users browse with dark mode enabled. Verify that your logo and icons remain clearly visible against both light and dark browser backdrops.
Choosing colors that drive business results
Your website color scheme should work for your business, not against it. By adhering to the 60-30-10 rule, selecting high-contrast neutrals, and verifying accessibility compliance, you create a website that builds customer trust and guides visitors directly toward reaching out.
At Techcelerant, our web development services set your site up in your brand colors, and our Custom website package includes an accessibility pass against WCAG 2.2 AA, which covers color contrast. Review our fixed-price package options on the pricing page to start planning your next website redesign.
Frequently asked questions
How many colors should be in a business website color scheme?
Most successful business websites use three to four core colors: a dominant neutral background color (white or soft gray), a primary brand color for headings and layout structure, and a high-contrast accent color reserved for buttons and call-to-action elements.
What is the 60-30-10 color rule in web design?
The 60-30-10 rule is a visual balancing guideline. Around 60% of your page canvas consists of a neutral background, 30% uses a secondary brand color for structural sections and text, and 10% is dedicated to an accent color that draws attention to primary conversion buttons.
What is the minimum color contrast ratio for web accessibility?
Under WCAG 2.2 Level AA standards, standard body text must have a minimum contrast ratio of 4.5:1 against its background. Large text (18pt or 14pt bold) and user interface components require a minimum ratio of 3:1.
Can I use pure black text on a pure white background?
While pure black on pure white passes contrast tests easily, high-contrast black (#000000) on stark white (#FFFFFF) can cause eye fatigue during long reading sessions. Many designers prefer an off-black or dark slate (such as #1E293B) for a softer, professional look.

