Typography
USWDS typography provides a consistent hierarchy of text styles for government websites.
Headings
Heading 1 — Page title
Heading 2 — Section heading
Heading 3 — Subsection heading
Heading 4 — Topic heading
Heading 5 — Category heading
Heading 6 — Label heading
Body Text
Intro text is used for introductory paragraphs and lead statements. It is larger than body text and helps draw attention to important information.
Body text is the standard paragraph style used throughout the site. It should be readable and comfortable for extended reading.
Small body text is used for captions, labels, and supplementary information where a smaller font size is appropriate.
Font Families
This text uses the sans-serif font family (Source Sans Pro).
This text uses the serif font family (Merriweather).
Text Styles
Lead text draws attention to important information at the start of a page.
Body text is the standard for readable content.
Small body text for supplementary details.
Bold text for emphasis.
Italic text for emphasis or titles.
Uppercase text for labels and headings.
Text Colors
USWDS provides a range of color tokens. Text must meet a 4.5:1 contrast ratio against its background for normal body text (3:1 for large text). The swatches below show each token; lighter tokens (base-light, base-lighter, accent-warm, accent-cool, warning) do not meet WCAG 2.2 AA for body text and are intended only for large text, decorative use, or non-text elements.
-
text-base-darkest— primary text (meets AA) -
text-base-dark— secondary text (meets AA) -
text-base— default text (meets AA) -
text-base-light— large/decorative text only (does not meet AA for body text) -
text-base-lighter— non-text/decorative only (does not meet AA) -
text-primary— links and emphasis (meets AA) -
text-accent-warm— large/decorative text only (does not meet AA for body text) -
text-accent-cool— large/decorative text only (does not meet AA for body text) -
text-success— success text (meets AA) -
text-warning— non-text/decorative only (does not meet AA) -
text-error— error text (meets AA)
Lists
- Unordered list item one
- Unordered list item two
- Unordered list item three
- Ordered list item one
- Ordered list item two
- Ordered list item three
Links
This is a default link within body text.
Bold link for emphasis.
Horizontal Rule
Blockquote
"The best way to predict the future is to create it."
— Peter Drucker