# Best fonts for a website that doesn't look AI-generated

> Why one sans-serif on everything looks like a default, how to pick a heading font and a text font that work together, and how to set them up in Astro with Fontsource and Tailwind v4.

Canonical page: <https://aymu.dev/blog/fonts-that-dont-look-ai-generated>

Published 28 Nov 2026.

Inter is a very good typeface. It's clear at small sizes and it's free. That's likely why it ended up on so many
AI-built sites. When an agent needs a font and you haven't named one, it picks a safe, popular sans. So the headline,
nav, buttons and paragraphs all get the same family. The page looks like every other page that made the same choice.

You don't have to ban Inter. Just stop using one font for two jobs.

## Why one font on everything reads as default

Headings and body text do different work. Body text should disappear, so you read the words without noticing the
letters. A heading should be noticed. It sets the tone of the page before anyone reads a full sentence.

![One font on everything, where only size separates heading and text, crossed out beside a pairing of a display face and a calm text face.](/blog/figures/fonts-that-dont-look-ai-generated-1.png)

When the same sans does both, size is the only difference between a heading and a paragraph. The page has no voice
of its own. Visitors may not know the font's name, but they've seen this flat look many times. It reads as "nobody
picked this".

## Choose a pairing, not a font

Pick two families with clearly different jobs:

- **A display face** for headings and a few large numbers. This is where the character comes from. It can be a serif,
  a geometric sans, or something with a bit of personality.
- **A text face** for paragraphs, labels, buttons and forms. It should be calm, easy to read at 14 to 18 pixels, and
  have at least regular and medium weights.

A simple pairing rule: make them different in one clear way. A serif heading with a sans body is the easiest. Two
sans faces can work if one is much more geometric or condensed. Two faces that look almost the same are the worst
choice, because the difference looks like a mistake.

## Free families worth trying

These are all open-licensed and on Fontsource. Try them in pairs on your own headline before you decide.

| Family           | Kind           | Good for                                        |
| ---------------- | -------------- | ----------------------------------------------- |
| Instrument Serif | Display serif  | Large, elegant headlines. Regular weight only.  |
| Fraunces         | Variable serif | Headlines with warmth. Has a wide weight range. |
| Space Grotesk    | Grotesque sans | Technical products, headings with an edge.      |
| Geist            | Neutral sans   | Body text and UI for software products.         |
| IBM Plex Sans    | Neutral sans   | Body text with a slightly engineered feel.      |
| IBM Plex Serif   | Text serif     | Long reading, docs and blog posts.              |
| Manrope          | Modern sans    | Friendly body text and UI.                      |

Some pairings to start from:

- Instrument Serif headings with Geist body.
- Fraunces headings with Manrope body.
- Space Grotesk headings with IBM Plex Sans body.

## Test with your own headline

Font sample pages show each family at its best, with a sentence picked to make it look good. Your headline is
different. It has your words, your length and maybe your product name, and some faces handle that much better than
others.

Before you decide, put your real hero headline on a blank page in each font, at the size you plan to use. Look at it
on a phone and on a laptop. Check the letters your words use. Some display faces have an odd lowercase "g" or capital
"R" that looks great in a sample and strange in your brand name. Pick the one that still looks right after a minute
of staring.

## Contrast does more than the font

A good pairing still looks flat if the sizes and weights are too close. If the heading is only about twice the size
of the body text, the page reads as flat. Make the difference bigger.

![A table of type contrast values: hero headline 56 to 80 pixels, section headings 32 to 40, body 16 to 18, plus tracking and line height.](/blog/figures/fonts-that-dont-look-ai-generated-2.png)

- **Size.** Make the hero headline much larger than you think: 56 to 80 pixels on desktop. Section headings can sit
  around 32 to 40. Body stays at 16 to 18.
- **Weight.** If the display face is heavy, keep body text at regular weight. If the display face is light, like
  Instrument Serif, let it be large and let the body carry medium weight for labels.
- **Tracking.** Large headings usually look better with slightly tighter letter spacing, around `-0.02em`. Small
  uppercase labels need the opposite, a little extra spacing. Body text should be left alone.
- **Line height.** Tight for headlines, around 1.05 to 1.15. Relaxed for paragraphs, around 1.5 to 1.7.
- **Line length.** A common guideline is 60 to 75 characters per line for body text. In Tailwind, `max-w-prose` gets
  you close.

![Roomy template hero: huge outlined letters reading FIND YOUR CALM over a photo of a curved building](/blog/examples/roomy.jpg)

*Example: [Roomy](/templates/roomy), a designed Astro template on Aymu.*

## Do this today

Here's a full setup for Astro and Tailwind CSS v4, with Instrument Serif for headings and Geist for body text.
Fontsource packages ship the font files with your site, so nothing loads from a third-party font server.

Install the packages:

```sh
npm install @fontsource/instrument-serif @fontsource-variable/geist
```

Import them once in your base layout:

```astro
---
// src/layouts/Base.astro
import '@fontsource/instrument-serif';
import '@fontsource-variable/geist';
import '../styles/global.css';
---
```

Add them as tokens in your CSS. Tailwind v4 turns `--font-*` variables in `@theme` into `font-*` utilities, and
`--font-sans` becomes the default for the page.

```css
@import 'tailwindcss';

@theme {
  --font-sans: 'Geist Variable', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Instrument Serif', ui-serif, Georgia, serif;
}

@layer base {
  h1,
  h2 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
}
```

Now `font-display` and `font-sans` are available as classes, and every `h1` and `h2` uses the display face by
default. The heading rule sits in `@layer base`, so a utility class like `font-sans` on a heading still wins. If you
prefer the other pairings, the packages are `@fontsource-variable/fraunces`,
`@fontsource-variable/manrope`, `@fontsource-variable/space-grotesk` and `@fontsource/ibm-plex-sans`. Variable
packages register their family with "Variable" at the end of the name, for example `'Fraunces Variable'`,
`'Manrope Variable'` and `'Space Grotesk Variable'`.

Then add the rule to your `CLAUDE.md`, so the agent doesn't pick a different font in the next section it builds:

```md
## Type

- Headings (h1, h2, large numbers): font-display (Instrument Serif), weight 400,
  tracking -0.02em, leading 1.1.
- Everything else: font-sans (Geist). Weights 400 and 500 only.
- Hero headline: text-5xl on mobile, text-7xl on desktop.
- Body: text-base or text-lg, leading-relaxed, max-w-prose.
- Do not install or import any other font. Do not use Inter.
```

## Check the result

Look at the page from across the room. You should see a clear difference between the headline and everything else
before you can read a word. If you can't, the headline is too small or the two faces are too alike.

Fonts and color cover most of a page, so they're the two changes that make the biggest difference fastest. If you
haven't done color yet, start with
[How to choose a website color palette (with Tailwind tokens)](/blog/website-color-palette). To find what else on your page still looks like a
default, use [12 signs your website looks vibe coded](/blog/signs-your-site-looks-vibe-coded).
