Sub topic 4
Build a limited color system
This chapter assumes you have a one-paragraph visual identity brief (mood words, audience) and know the basics of hex colors. A color system is a small, fixed set of colors with a defined job for each. A limited set makes a series recognizable, because viewers learn to associate those few colors with your account.
Choose roles, not just colors
Start with roles. Each role answers the question "what is this color for?"
| Role | Job | Typical count |
|---|---|---|
| Background | Fills the canvas | 1 main, 1 alternate |
| Text | Headlines and body copy | 1 or 2 |
| Accent | Draws the eye to one element | 1 main, up to 2 more |
| Neutral | Dividers, captions, subtle shapes | 1 or 2 |
Five to six colors in total is enough for most series. Every extra color weakens the association with the first few.
Pick a base, then an accent
Choose the background and text colors first, because they cover most of the canvas. Then choose an accent that stands out from both. A common starting guide is the 60-30-10 split: about 60% background, 30% secondary color or imagery, and 10% accent.
Treat the split as a starting point. A quote card may be 85% background, and that is fine as long as the accent stays rare. Rarity is what makes an accent work as a signal.
Record the palette as tokens
A design token is a named value stored in one place. Name tokens by role, not by color appearance, so that --color-accent can change later without renaming anything.
:root {
--color-bg: #10243e;
--color-text: #ffffff;
--color-accent: #ffb703;
}In Figma, Canva, or Affinity, create the same names as color styles or brand kit entries. Then every designer picks from the list and nobody types hex codes by hand.
Check contrast as you choose
Contrast is the difference in brightness between text and its background. WCAG, the web accessibility guideline, asks for at least 4.5:1 for normal text and 3:1 for large text. Check pairs while you build the palette, because a nice accent that fails on your background will have to be replaced later. The script below computes the ratio.
def channel(c):
c = c / 255
return c / 12.92 if c <= 0.03928 else ((c + 0.055) / 1.055) ** 2.4
def luminance(hex_color):
h = hex_color.lstrip('#')
r, g, b = (int(h[i:i + 2], 16) for i in (0, 2, 4))
return 0.2126 * channel(r) + 0.7152 * channel(g) + 0.0722 * channel(b)
def contrast_ratio(a, b):
la, lb = luminance(a), luminance(b)
hi, lo = max(la, lb), min(la, lb)
return (hi + 0.05) / (lo + 0.05)
print(round(contrast_ratio('#ffffff', '#10243e'), 2))White on this navy gives a very high ratio, well above 4.5. Run the same function for --color-accent on --color-bg before you approve the accent for text.
Common errors
- Naming tokens
--blueand--yellow. When the blue changes, the name lies. - Using the accent for everything. If every element is highlighted, none is.
- Adding a new color for each post. Extend the palette only by a deliberate decision, not by habit.
- Judging colors on one screen. Preview on a phone at low brightness, since most viewers see your graphics there.
Exercise
Your palette has background #10243e, text #ffffff, and accent #ffb703. A teammate wants to add a fourth bright color "just for this one post". Give two reasons to say no, and one way to handle the need within the system.
Show answer
First, a one-off color weakens the link between the series and its few known colors. Second, it has not been checked for contrast against the background. Within the system, use the existing accent, or use a neutral tint or a photo to create variety. If the color keeps being needed, add it to the palette as a named token after a contrast check.