Sub topic 5
Applying brand typography and hierarchy
This chapter assumes you can set type in a design tool such as Figma, Illustrator, or InDesign. It also assumes you know the basic terms typeface, weight, leading, and tracking, and that you have read how a guideline document is organized. By the end you will be able to find the type rules that apply to a task, build a hierarchy from them, and avoid the usual errors.
What the typography section settles
A brand typography section answers questions you would otherwise decide by taste. These are the usual contents:
| Rule | What it fixes | Example |
|---|---|---|
| Typefaces and roles | Which family does which job | Heading family for titles, body family for paragraphs |
| Weights and styles | Which cuts are approved | Regular, Semibold, Bold; italic for emphasis only |
| Type scale | Sizes for each level | H1 40 px, H2 28 px, H3 20 px, body 16 px |
| Spacing | Leading, tracking, paragraph gaps | Body leading 1.5, headings 1.2 |
| Alignment and case | Left-aligned text, sentence case headings | No all-caps paragraphs |
| Fallbacks | What shows if the brand font is missing | Arial for headings, Georgia for body |
| Licensing | Where the font may be used | Desktop, web, app, and print licenses differ |
Read the whole section before you start. Guidelines often split rules by medium, so the print scale may differ from the web scale.
Building a hierarchy
Hierarchy is the order in which a reader notices and reads things. Brand guidelines define it by giving each level a distinct combination of size, weight, color, and spacing. Use the levels in the order the guideline gives them.
- Display or H1. One per page or screen. It names the page.
- H2. Divides the content into sections.
- H3. Divides a section into parts.
- Body. The default for running text.
- Caption and legal. The smallest approved size, still readable.
Two practical rules keep hierarchy clear.
- Change at least two properties between adjacent levels, for example size and weight. A one-point size difference is easy to miss and looks like a mistake.
- Do not skip levels for looks. If you need a smaller heading, use the next level down. Choosing H3 because H2 looks too big also breaks the document structure for screen readers.
Reading the scale
Many guidelines use a modular scale, where each size is the previous one multiplied by a fixed ratio such as 1.25. If your layout needs a size the table does not list, compute it from the ratio instead of picking a value that looks right. That keeps your result consistent with the rest of the system. If the guideline gives no ratio and no size for your case, treat it as a gap and follow the process in the chapter on silent guidelines.
Encoding typography in code
For web work, put the approved values in one place and reference them everywhere. This extends the token approach used for color.
:root {
--brand-font-heading: "Example Sans", Arial, sans-serif;
--brand-font-body: "Example Serif", Georgia, serif;
--type-size-h1: 2.5rem;
--type-size-h2: 1.75rem;
--type-size-h3: 1.25rem;
--type-size-body: 1rem;
--type-size-caption: 0.875rem;
--type-leading-heading: 1.2;
--type-leading-body: 1.5;
--brand-color-primary: #0b3d91;
--brand-color-text: #1a1a1a;
}
body {
font-family: var(--brand-font-body);
font-size: var(--type-size-body);
line-height: var(--type-leading-body);
color: var(--brand-color-text);
}
h1, h2, h3 {
font-family: var(--brand-font-heading);
line-height: var(--type-leading-heading);
color: var(--brand-color-primary);
}
h1 { font-size: var(--type-size-h1); font-weight: 700; }
h2 { font-size: var(--type-size-h2); font-weight: 600; }
h3 { font-size: var(--type-size-h3); font-weight: 600; }
figcaption, .legal {
font-size: var(--type-size-caption);
}Sizes use rem so they scale when a user changes the browser's default font size. The font stacks list the brand font first and the approved fallback after it, so a failed font load still produces on-brand-adjacent text.
The CSS file should load the font files your license covers. A self-hosted web font needs a web license, and a desktop license does not cover it.
Print versus screen
The same brand often needs different values per medium. Print is measured in points and uses CMYK or spot colors. Screens use pixels or rem and RGB values. A guideline may give 10 pt body for print and 16 px for web. Do not convert one to the other by formula unless the guideline says to. Reading distance, resolution, and viewing conditions differ, so the authors usually choose each number separately.
Check these things when you move a design between media:
- The font family is licensed for the new use.
- The weight still reads well. Light weights can break up on low-resolution screens.
- Line length stays in a readable range. A common target is 45 to 75 characters per line for body text.
- Leading still follows the guideline after you change the size.
Fallbacks and missing fonts
Sometimes the brand font is not available. Email clients, partner systems, and shared slide decks often substitute fonts. Use the fallback the guideline names. If it names none, ask for one, and meanwhile choose a system font with similar proportions. Do not substitute a decorative or unrelated font, because that is the failure the section exists to prevent.
For files that others will open, you have three safe options. Embed the font if the license allows it. Outline the text, which is common for logos and print files but makes it uneditable. Or export a PDF for review and keep the editable source with the font files in the same package.
Accessibility inside the type rules
Brand type must still be readable. Check these before review:
- Normal text needs a contrast ratio of at least 4.5:1 against its background under WCAG AA. Large text, roughly 24 px regular or 18.66 px bold and above, needs 3:1.
- Body text below about 16 px on screens often causes complaints, even if the guideline allows it. If the brand scale conflicts with legibility, raise it as an issue instead of silently shrinking text.
- Do not use accent colors for body text when the guideline restricts them to highlights.
function channel(value) {
const s = value / 255;
return s <= 0.03928 ? s / 12.92 : Math.pow((s + 0.055) / 1.055, 2.4);
}
function luminance([r, g, b]) {
return 0.2126 * channel(r) + 0.7152 * channel(g) + 0.0722 * channel(b);
}
function contrastRatio(rgbA, rgbB) {
const [light, dark] = [luminance(rgbA), luminance(rgbB)].sort((a, b) => b - a);
return (light + 0.05) / (dark + 0.05);
}
// Brand blue headings on white, and brand accent text on white.
console.log(contrastRatio([11, 61, 145], [255, 255, 255]).toFixed(2));
console.log(contrastRatio([242, 169, 0], [255, 255, 255]).toFixed(2));The blue passes comfortably. The gold fails for normal and large text on white, which is why the example brand limits it to highlights.
Common errors
- Faux styles. Applying bold or italic to a family that has no such cut makes the software fake it. The letterforms distort. Use only the cuts the brand supplies.
- Stretching or squeezing. Never scale type non-proportionally to fit a space. Change the size or the layout.
- Tracking everywhere. Adjust letter spacing only where the guideline permits it, usually on all-caps labels.
- Too many styles on one page. If you need more than about four levels in a short piece, the content structure is probably the problem.
- Justified text without hyphenation. It creates uneven word gaps. Use the alignment the guideline specifies, usually left.
- Mixing roles. Setting body copy in the heading family because it looks cleaner breaks the role assignment.
- Local overrides. Typing a size directly into a component instead of using the token means the next brand update misses it.
Checklist before review
- Every text element uses a defined style or a documented derived size.
- Heading levels follow the document structure.
- Only approved families, weights, and styles appear.
- Contrast and minimum sizes pass.
- Fonts are licensed, embedded, or outlined as appropriate.
- Any gap or deviation is written down with the reason.
Exercise
A guideline lists H1 at 40 px and H2 at 28 px, with no H3 size and no stated scale ratio. Your layout needs a third heading level. What do you do, and what should you not do?
Show answer
Treat it as a gap. Do not pick a size by eye or reuse the H2 style. You may propose a size that fits the progression, such as 20 px with a clear weight or color difference from body text, but record it as a proposal and ask the brand owner to confirm or add it to the guideline. Keep the proposal in a token or text style so it is easy to change.
Exercise
Your page uses accent gold (#f2a900) for a 16 px paragraph on a white background. The guideline says to use the accent for highlights only. Name two reasons this should change and the fix.
Show answer
First, the guideline restricts the accent to highlights, so using it for body text breaks a brand rule. Second, the contrast ratio of gold on white is far below the 4.5:1 AA threshold for normal text, so many readers cannot read it. Set the paragraph in the approved text color, which has high contrast on white, and keep gold for a small highlight such as a rule or button label on a dark background that passes contrast.