Skip to content

Add Geist palette#21

Open
LeaVerou wants to merge 1 commit into
mainfrom
claude/add-geist-palette
Open

Add Geist palette#21
LeaVerou wants to merge 1 commit into
mainfrom
claude/add-geist-palette

Conversation

@LeaVerou

Copy link
Copy Markdown
Member

Adds Vercel's Geist design system color ramps.

Hue ramps

8 hue ramps, each with 10 steps (100, 200, 300, 400, 500, 600, 700, 800, 900, 1000): gray, blue, red, amber, green, teal, purple, pink. Plus a 2-step background (single colors, surfaced as other).

Light-mode sRGB values, normalized from Geist's published hsla() light tokens.

Hand-tuning evidence

Geist is clearly hand-tuned, not generated by a locked-L algorithm. Computed OKLCH L per step across the 7 chromatic ramps (excluding gray):

Step L mean L stddev
100 0.971 0.0067
200 0.965 0.0050
300 0.947 0.0054
400 0.915 0.0056
500 0.847 0.0184
600 0.761 0.0406
700 0.644 0.0778
800 0.586 0.0845
900 0.522 0.0232
1000 0.276 0.0277

The mid-to-dark steps (600-800) show L stddev well above the 0.02 algorithmic threshold. Amber notably runs much lighter at the peak-chroma steps (L = 0.82 at step 700 vs ~0.58 for blue/purple/pink) — a hand-tuned choice to preserve perceived warmth and chroma in yellows, rather than forcing equal lightness across hues.

Design rationale

Background and color philosophy: https://vercel.com/geist/colors

Source

The Geist palette is documented at https://vercel.com/geist/colors. The raw values were taken from the published geist-colors package source: https://github.com/ephraimduncan/geist-colors/blob/main/src/light.ts (saved verbatim to data/raw/geist.ts, including a handful of typos in the upstream file that do not affect the normalized hex values).


Generated by Claude Code

@netlify

netlify Bot commented May 19, 2026

Copy link
Copy Markdown

Deploy Preview for colorjs-palettes ready!

Name Link
🔨 Latest commit 5d7a620
🔍 Latest deploy log https://app.netlify.com/projects/colorjs-palettes/deploys/6a3819087cd9f40008938a83
😎 Deploy Preview https://deploy-preview-21--colorjs-palettes.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Adds Vercel's Geist design system color ramps: gray, blue, red, amber,
green, teal, purple, pink (each 10 steps, 100-1000), plus 2 background
neutrals. Normalized to sRGB hex from the published hsla source.
@LeaVerou LeaVerou force-pushed the claude/add-geist-palette branch from 5154c0b to 5d7a620 Compare June 21, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants