Palette Library
Vintage Map
A retro palette for travel with a brown primary and a teal accent. Text reaches 14.05:1 in light mode and 15.28:1 in dark mode.
How to use it
Vintage Map's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fdfcfa, cards #f5efe5, and text #2f291e at 14.05:1; buttons #7f5539 with #fdfcfa labels at 6.28:1; highlights #6c9a8b with #000000 text at 6.63:1.
- Dark mode: page #161411, cards #211d17, and text #eaeaea at 15.28:1; buttons #c99b7d with #161411 labels at 7.41:1; highlights #709e8f with #161411 text at 6.10:1.
- Links: #7f5539 reaches 6.28:1 on the light page, and #c99b7d reaches 7.41:1 on the dark page.
- The accent as text: In light mode, keep #6c9a8b for fills and badges, not text: it reaches only 3.08:1 on the page.
Preview
The same palette on a small interface in light and dark.
Light mode
A place for your ideas
Start with colors that work together.
Your next project
A surface for the details that matter.
NewExplore your palette →
Dark mode
A place for your ideas
Start with colors that work together.
Your next project
A surface for the details that matter.
NewExplore your palette →
Roles
Five roles and their two foregrounds. Copy the exact HEX values.
| Role | Light | Dark |
|---|---|---|
| Background | #fdfcfa | #161411 |
| Surface | #f5efe5 | #211d17 |
| Text | #2f291e | #eaeaea |
| Primary | #7f5539 | #c99b7d |
| Primary Foreground | #fdfcfa | #161411 |
| Accent | #6c9a8b | #709e8f |
| Accent Foreground | #000000 | #161411 |
Contrast matrix
Five required pairs per mode, judged on the final 8-bit colors.
Light mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.05:1AAArequired | 12.60:1AAArequired | 2.23:1Fail | 4.55:1AA |
| Primary | 6.28:1AArequired | 5.63:1AA | 1.00:1Fail | 2.03:1Fail |
| Accent | 3.08:1AA large | 2.76:1Fail | 2.03:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.11:1Fail | 6.28:1AArequired | 3.08:1AA large |
| Accent Foreground | 20.48:1AAA | 18.36:1AAA | 3.26:1AA large | 6.63:1AArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.28:1AAArequired | 13.93:1AAArequired | 2.06:1Fail | 2.50:1Fail |
| Primary | 7.41:1AAArequired | 6.75:1AA | 1.00:1Fail | 1.21:1Fail |
| Accent | 6.10:1AA | 5.56:1AA | 1.21:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.09:1Fail | 7.41:1AAArequired | 6.10:1AA |
| Accent Foreground | 1.00:1Fail | 1.09:1Fail | 7.41:1AAA | 6.10:1AArequired |
AAA: normal text ≥ 7:1. AA: normal text ≥ 4.5:1. AA large: large text ≥ 3:1 (24 px, or 18.66 px bold). UI: required component contrast ≥ 3:1. Fail: below 3:1. Required marks the five pairs ColorLint checks in each mode. Other pairs are informational.
ColorLint checks color contrast only. Passing pairs do not mean a page is accessible.
Exports
Both modes, with the exact values the Palette Generator exports.
CSS variables
/* ColorLint palette (v1). Light values in :root; dark values in .dark. */
:root {
--background: #fdfcfa;
--surface: #f5efe5;
--text: #2f291e;
--primary: #7f5539;
--primary-foreground: #fdfcfa;
--accent: #6c9a8b;
--accent-foreground: #000000;
}
.dark {
--background: #161411;
--surface: #211d17;
--text: #eaeaea;
--primary: #c99b7d;
--primary-foreground: #161411;
--accent: #709e8f;
--accent-foreground: #161411;
}
Tailwind v4
/* ColorLint palette for Tailwind CSS v4 (palette v1). */
/* Paste after @import "tailwindcss". Add the "dark" class to <html> for dark mode. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #fdfcfa;
--surface: #f5efe5;
--text: #2f291e;
--primary: #7f5539;
--primary-foreground: #fdfcfa;
--accent: #6c9a8b;
--accent-foreground: #000000;
}
.dark {
color-scheme: dark;
--background: #161411;
--surface: #211d17;
--text: #eaeaea;
--primary: #c99b7d;
--primary-foreground: #161411;
--accent: #709e8f;
--accent-foreground: #161411;
}
@theme inline {
--color-background: var(--background);
--color-surface: var(--surface);
--color-text: var(--text);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
}
Compared with similar palettes
- Compared with Postcard, which shares the retro style: text reaches 14.05:1 in light mode against 13.58:1, the primary is brown where Postcard's is red, and both use a teal accent.
- Compared with Coral Reef, which shares the Travel topic: text reaches 14.05:1 in light mode against 13.16:1, the primary is brown where Coral Reef's is red, and both use a teal accent.