Pass the menu and read the page

SignupFolio

Signup page contrast: 5 figures to check before publishing

Signup page text needs a contrast ratio of at least 4.5:1 against its background, and heading or larger text needs at least 3:1. A signup page often has a short job: get a visitor to read a few lines, understand what they are agreeing to, and press one button. If the words on that page are hard to read, the visitor may leave before they reach the form. For a marketer or growth lead who writes or reviews the landing page where visitors first reach a signup, color contrast is one of the few parts of the design that can be checked against a number instead of a preference.

Key takeaways

  • Check body text, field labels, consent text, and error messages against 4.5:1.
  • Check heading or larger text against 3:1, using only lines that really are headings or larger text.
  • Count text as larger text at 18pt or more, or at 14pt bold.
  • Measure your strongest pairs against 7:1 where your team decides it applies, and record which pairs you checked.
  • Leave incidental text, such as inactive controls, logotypes, or purely decorative text, outside the ratios.

All five figures in this post come from MDN's guide to color contrast. The U.S. Web Design System (USWDS) adds two points of context, covered later in this post: how many people color insensitivity affects, and what it says about Section 508.

A contrast ratio compares the brightness of a text color with the brightness of the color behind it. A higher ratio means the text is easier to tell apart from its background. The figures here are minimums: a pair that reaches a figure meets it, and a pair that falls short does not.

This post is not a full accessibility audit, and it is not legal advice. It covers the contrast figures and a few related points. Use it as a checklist for the text on your signup page, and bring in your accessibility or legal team for anything beyond that.

Why start with the signup page

The signup page is a good place to start because it asks a visitor to do something. A landing page can carry a lot of content, but the signup step is where a visitor has to read specific words, make choices, and commit. If that text is hard to see, the visitor has no clear path forward, and the rest of the page may never get the chance to do its job.

That makes the page a natural first target for a contrast check. You do not need to audit the whole site to learn something useful. Start with the text a visitor must read before the form is submitted, and widen the check later if the results point you there.

Text needs a contrast ratio of at least 4.5:1

MDN puts it this way: "Text and its background should have a contrast ratio of at least 4.5:1." (MDN's color contrast guide)

This is the figure to start with, because it covers most of the words a visitor must read to finish signup. Apply it to the field labels, helper lines under a field, the sentence next to a consent checkbox, error messages, the text inside a button, and any link the visitor needs to follow. Each of these is a text and background pair, and each pair should be checked on its own. A dark gray label on a white card and a light gray label on a tinted section are two different pairs, even when they sit on the same page.

Check each pair where it actually shows. A color chosen in a design file is a starting point, not the final answer. Include any image, gradient, or overlay that sits behind the text, because that background is part of the pair. A check done on a flat swatch can miss the part of the background that sits right under the words.

Heading or larger text needs at least 3:1

MDN's wording is: "Heading (or just larger) text should have a ratio of at least 3:1." (MDN's color contrast guide)

The lower figure is for heading or larger text, not for text in general. A section title such as "Your details" can fall under the 3:1 figure if it is a heading. Body copy, field labels, and the consent sentence fall under the 4.5:1 figure unless they are headings or larger text as defined in the next section.

Because 3:1 is the lower number, it is tempting to label a line as a heading to get past it. Use the lower figure only for lines that are truly headings or larger text. A line styled to look like a heading, but that is not one, is checked against 4.5:1.

When you review the page, look at the role of each line first, then at its color. The role decides which figure applies. The color decides whether the pair passes.

What counts as larger text?

MDN defines larger text as at least 18pt, or 14pt bold. The exact wording is: "Larger text is defined as at least 18pt, or 14pt bold." (MDN's color contrast guide)

Regular-weight text below 18pt, and bold text below 14pt, does not meet either part of the definition, so it is not larger text under MDN's wording. Check the weight as well as the size, because a line can be large in one respect and still fail the other.

Check the size as it renders. A font size written in a design file or in the page code is where you start, but the size a visitor sees can depend on the device and on their own settings. Measure the rendered text when a line is close to a threshold, and note which size you measured.

A line that is neither a heading nor larger text under this definition falls under the 4.5:1 figure.

What is the 7:1 figure?

MDN gives 7:1 as the ratio that text and its background should have, at least. The quote is: "Text and its background should have a contrast ratio of at least 7:1." (MDN's color contrast guide)

This post does not assign the 7:1 figure to any part of your page, so read the full MDN page before you decide where it applies to your design.

The ratios work as steps. A pair that reaches 7:1 also reaches 4.5:1 and 3:1, so 7:1 is the most demanding of the figures in this post. If your team wants the strongest margin on the words a visitor must read, it is a useful number to measure against, as long as you record which pairs you checked against it and why.

Which text do these ratios not cover?

MDN says these ratios do not apply to incidental text. The wording is: "These ratios do not apply to 'incidental' text, such as inactive controls, logotypes, or purely decorative text." (MDN's color contrast guide)

The quote gives three examples: inactive controls, logotypes, and purely decorative text. The words "such as" mark them as examples, not a full list. Keep active fields, links, error messages, and the consent sentence under the ratios above.

Be careful with the word "decorative." A label, helper line, or error message gives a visitor information they need, so it is not purely decorative. Only text that is decoration with no information in it fits that example. Whether a given control is inactive is a question for your design, and this post does not settle it. If you are unsure, treat the text as needing a check and measure it.

How many people does color insensitivity affect?

USWDS, citing NIH, says color insensitivity impacts approximately 0.5% of adult women and 8% of adult men, or 4.5% of the total population. (U.S. Web Design System, "Using color")

USWDS uses the term color insensitivity, and this post follows its wording. These figures describe people, not colors, so they are not contrast ratios. The 4.5% for the total population is a different number from the 4.5:1 text ratio, even though both contain 4.5. In a design review, say which one you mean, so the two are not mixed up.

The figures do not tell you how many of your own visitors are affected. This post does not estimate that, and no figure about your visitors is given here.

Does Section 508 set a contrast level?

According to USWDS, Section 508 sets the legal standard for the needed contrast level between text and its background. The source wording is: "Section 508, which aligns with WCAG 2.0 Level AA, sets the legal standard for the needed contrast level between text and its background." (U.S. Web Design System, "Using color")

This post does not link any of the five figures to Section 508, and it does not match WCAG 2.0 Level AA to a ratio. Read the standard, or ask your compliance team, for that answer. For the WCAG version question, see which WCAG version to cite on a signup page.

Whether and how Section 508 applies to your organization is a question for your legal or compliance team. This section reports only what USWDS says.

Check each text pair against the matching figure

Each text and background pair is checked against the figure that matches it. Work through the signup page in this order:

  1. List every piece of text a visitor must read to finish signup, including labels, helper text, error messages, consent text, buttons, and links.
  2. Sort each item into heading or larger text, text, or incidental text. Use MDN's size definition for the first group, and treat an item as incidental only if it clearly fits MDN's examples or is comparably non-informational, and note any judgment call in the record.
  3. Measure each pair with a contrast checker. Compare heading or larger text with 3:1, and compare text with 4.5:1. Where you decide the 7:1 figure applies, compare against that too.
  4. Repeat the check for states a visitor can reach, such as focus, hover, and error states, because a color change in one state can create a new pair.
  5. Check the page at a phone-sized width as well, and measure any pair that changes there. See checks for signup page text when it is resized.

Compare the ratio with the figure, not with a rough sense of whether the text looks readable.

Record each check with the text, its colors, the ratio, and the figure

Record each check with the text, its two colors, the ratio, and the figure it was checked against. The record is what makes the next review fast, because a reviewer can see what was measured without measuring it again.

Use the same column headings each time: where the text sits on the page, the role of the text, its two colors, its size, the ratio, and the figure. Mark any pair that was not measured, and say why. A blank is easy to miss; a note is not.

When the page changes, update only the rows that changed, and note the date. A short record kept this way is easier to trust than a long one that nobody updates.

When a pair falls short, change the colors

Change the colors until the pair reaches the figure that applies to it. Possible fixes include darkening the text, lightening the background, or doing the reverse on a dark design. Re-measure after each change, because a color adjusted for one pair may appear in other pairs on the page.

Changing the text size helps in one case only. Making text bigger does not change the 4.5:1 figure for text. It moves the text into the larger-text category only if the new size meets MDN's definition, at least 18pt or 14pt bold, and then the 3:1 figure is the one to check against. Measure the new size as it renders before you rely on it.

Illustrative example: a helper line that falls short

A helper line under the email field is light gray on a white card and measures 3:1 in a checker. It is body-sized text, not a heading or larger text, so it is checked against 4.5:1 and falls short. Darken the gray, measure again, and record the new ratio with both colors. The 3:1 reading is illustrative, not a measured value.

How to brief a designer

The brief should name the figures and the list of text items, not ask for "good contrast." A general request leaves each person to decide what good means, and the result can vary from one review to the next.

Give the designer the list from the checking steps above, with each item marked as heading or larger text, text, or incidental. Attach the figures: 4.5:1 for text, 3:1 for heading or larger text, and 7:1 where it applies. Include the size definition too, at least 18pt or 14pt bold, so the designer can tell which items are larger text without asking.

Ask for the ratio of each pair in the reply, not a yes or no. A ratio gives your team something to compare across revisions, while a yes or no hides how much margin a pair has.

What to tell a reviewer who disagrees

Answer a disagreement by pointing to the figure and the quote, not by repeating your own opinion. A disagreement can center on one of two questions: whether a line is a heading or larger text, or whether it is incidental.

For the first question, point to the size definition: at least 18pt, or 14pt bold, in MDN's wording. For the second, point to MDN's three examples and the words "such as." If the reviewer thinks the line fits an example, ask them to name which one. If they cannot, the line is checked against the figure for text, or for heading or larger text, as it applies.

Write the outcome in the record, including the quote that settled it. The next reviewer will then not have to settle the same question again.

How to read a contrast result

A contrast result is a ratio, and it means something only when you compare it with the figure for its group. A result between 3:1 and 4.5:1 passes for heading or larger text, but it does not pass for text. A result of 4.5:1 or more passes the text figure, and a result of 7:1 or more passes the 7:1 figure as well.

Do not round a result up to reach a figure. If the checker shows a ratio that falls just short, the pair falls short, and the fix is a color change, not a rounding decision.

What this post does not settle

This post does not settle whether your signup page meets any standard. That depends on a full review and on rules this post does not cover. It does not give you an audit of the page, a check of images or video, or a judgment about how any particular visitor sees color.

Treat the result of your check as a record of what was measured, not as a certificate. If a pair passes, the figures in this post say only that it meets the figure that applies to it, and nothing more.

The five figures on one page

Keep the five figures in your review notes. Each has a source link earlier in this post, so a colleague can read the full context before changing a design.

Start today with the signup page you own. Measure the text that a visitor must read before they can finish the form, fix the pairs that fall short, and record the results. That is a useful first pass on color contrast, and it leaves the rest of the accessibility review for later.

Related guides: Landing page performance budget: 7 figures to check first · Signup page reflow width: 7 publisher rules compared.

Frequently asked questions

Is 4.5:1 enough for all signup text?

Not always. Body text, labels, error messages, and the consent sentence need 4.5:1, while heading or larger text needs only 3:1.

What counts as larger text?

Under MDN's definition, text at least 18pt, or 14pt bold, counts as larger text.

Sources and check date

Related posts

More posts