Worried your colors look fine on the logo but fall apart on a website? A good brand color palette is a small, named set of colors with jobs, tested for contrast. Start with roles, then check readability.
This guide sits inside the wider topic of what is branding, and it covers the color side: how to pick a set of colors you can use every day without second-guessing.
| Item | Value |
|---|---|
| Minimum contrast, normal text (WCAG Level AA) | 4.5:1 |
| Minimum contrast, large text | 3:1 |
| Large text starts at | 18 point (24 pixels), or 14 point if bold |
| Enhanced contrast, normal text (Level AAA) | 7:1 |
| Contrast scale, lowest to highest | 1:1 to 21:1 |
| Contrast requirement for logo text | None |
The figures come from WebAIM’s contrast guide and the U.S. Access Board’s ICT Baseline. Standards get revised, so check the sources before you rely on them.
Give every color a job before you pick a swatch
A palette holds together when each color has a clear role. Picking five colors you like and hoping they cooperate is how brands end up with a purple button, an orange banner and gray text nobody can read.
Decide the roles first, then choose colors to fill them:
- Primary: the color people connect with your name. It appears in the logo, main buttons and key headings.
- Secondary: a supporting color for section backgrounds, icons and charts.
- Neutrals: a near-black for text, a light tone for backgrounds and a mid-tone for borders.
- Accent: a rare, punchy color reserved for the one action you want noticed.
Neutrals quietly do most of the work, because body text and page backgrounds make up most of any layout. Spend as much time on them as on the exciting hue.
Build the palette in layers
Working in order keeps the set small and stops colors from competing. Follow these steps:
- Choose the primary color and confirm it suits your audience and industry.
- Add the neutrals, starting with the text color and the main background.
- Add one or two secondary colors that sit comfortably beside the primary.
- Add the accent last, and keep it away from large areas.
- Create lighter and darker versions of each color for hover states, tints and backgrounds.
Be careful with that last step. According to WebAIM, changing the lightness of a color changes its contrast ratio against another color, and lowering opacity lets the color underneath bleed through and reduces contrast too.
Once the colors are settled, record every value in a brand style guide so designers, printers and developers all reach for the same shades.
Write each color in the formats people will use
One color can be written several ways, and your team will meet all of them. WebAIM shows the same blue as the hex code #6161FF and as rgb (97, 97, 255), where each red, green and blue amount is a number between 0 and 255.
The third common format is HSL, which stands for hue, saturation and lightness. It maps more closely to how people perceive color, which makes it handy when you are building tints and shades.
Record at least these for every palette color:
- A plain-language name your team will actually say out loud.
- The hex code for websites and slides.
- RGB or HSL values for screen design tools.
- Print values from your printer, since screen codes do not translate directly to ink.

The same colors also travel inside your artwork files, so it helps to understand logo file types before you hand a logo to a printer or a web developer.
Test contrast before you commit
WCAG measures contrast as the difference in brightness between two colors. WebAIM explains that the ratio runs from 1:1 (white on white) to 21:1 (black on white), and that swapping the text and background colors leaves the ratio unchanged.
These are the thresholds worth memorising:
- Normal text needs at least 4.5:1 at Level AA (Access Board).
- Large text needs only 3:1 (WebAIM), and the Access Board counts it as large at 18 point text or 14 point bold text.
- The stricter Level AAA asks for 7:1 on normal text (WebAIM).
On the web, text size is usually set in pixels, and WebAIM notes that 18 points maps to 24 pixels. Close does not count: the same guide says a common gray, #777777, lands at 4.47:1 and does not meet the requirement.
Use a checker that does not round. The Access Board’s testing guidance advises contrast tools that do not round values, because a near miss is still a fail.
Bright, saturated colors can mislead you. Against white, WebAIM reports pure green at only 1.4:1 and pure red at 4:1, so neither works for small body text even though both look bold.
Test the awkward cases too. The same guide says text over gradients, semi-transparent colors and background images still has to meet the requirements, and that hover and focus colors must be evaluated independently of the resting state.
Contrast rules reach beyond words. WebAIM notes that WCAG 2.1, published in June 2018, moves contrast requirements beyond text, so icons and interface parts deserve a check as well.
Are brand colors exempt from contrast rules?
Only partly. Per WebAIM, text that is part of a logo or brand name has no contrast requirement, so a delicate wordmark can stay as designed.
That exemption stops at the logo. Siteimprove’s help center quotes WCAG on this: corporate visual guidelines beyond logo and logotype are not included in the exception. Your website’s buttons, headings and body text still have to pass.
When a favorite color fails, the same page suggests a short list of fixes, in this order:
- Darken or lighten the color slightly.
- Increase the text size, where large-text rules apply.
- Change the color outright if the first two do not work, even when that conflicts with the brand.
A practical habit is to keep two versions of a signature color: the vivid original for logos and decorative areas, and a deeper text-safe version for links and headings on light backgrounds.
Readers vary, too. Deque notes that about 8% of men and 0.4% of women in the US cannot see the average full spectrum of colors. Pair color with another cue, such as underlines on links, so meaning never rests on hue alone.
Frequently asked questions
How many colors should a brand palette include?
Show answer
None of the standards in this guide set a count. A useful rule is to include enough colors to cover your roles and few enough that a new team member can remember them without opening a file.
Does my logo itself need to pass a contrast check?
Show answer
Lettering inside a logo is exempt from the contrast minimum, according to the Access Board. A logo placed on a web page still needs alternative text so people using screen readers know it is there.
What should I do when my favorite color is too light for text?
Show answer
Try a deeper shade of the same hue and use it only where words appear. Keep the original for backgrounds, shapes and artwork, where reading is not at stake.
Which tool can check my colors?
Show answer
Many free checkers exist. As one editorial example, Deque’s axe DevTools includes analysis extensions for Google Chrome and Mozilla Firefox. Whatever you pick, confirm that it reports exact ratios rather than rounded ones.



