Palette Library
Quest Log
A retro palette for gaming with a brown primary and a yellow accent. Text reaches 18.79:1 in light mode and 16.38:1 in dark mode.
How to use it
Quest Log's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f9fcff, cards #ecf3fd, and text #070e18 at 18.79:1; buttons #5c3d2e with #f9fcff labels at 9.43:1; highlights #e0a83c with #070e18 text at 9.06:1.
- Dark mode: page #11171f, cards #1f2327, and text #edf5ff at 16.38:1; buttons #cea997 with #11171f labels at 8.35:1; highlights #d9a234 with #11171f text at 7.86:1.
- Links: #5c3d2e reaches 9.43:1 on the light page, and #cea997 reaches 8.35:1 on the dark page.
- The accent as text: In light mode, keep #e0a83c for fills and badges, not text: it reaches only 2.07: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 | #f9fcff | #11171f |
| Surface | #ecf3fd | #1f2327 |
| Text | #070e18 | #edf5ff |
| Primary | #5c3d2e | #cea997 |
| Primary Foreground | #f9fcff | #11171f |
| Accent | #e0a83c | #d9a234 |
| Accent Foreground | #070e18 | #11171f |
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 | 18.79:1AAArequired | 17.33:1AAArequired | 1.99:1Fail | 9.06:1AAA |
| Primary | 9.43:1AAArequired | 8.69:1AAA | 1.00:1Fail | 4.54:1AA |
| Accent | 2.07:1Fail | 1.91:1Fail | 4.54:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.08:1Fail | 9.43:1AAArequired | 2.07:1Fail |
| Accent Foreground | 18.79:1AAA | 17.33:1AAA | 1.99:1Fail | 9.06:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.38:1AAArequired | 14.38:1AAArequired | 1.96:1Fail | 2.08:1Fail |
| Primary | 8.35:1AAArequired | 7.33:1AAA | 1.00:1Fail | 1.06:1Fail |
| Accent | 7.86:1AAA | 6.90:1AA | 1.06:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.13:1Fail | 8.35:1AAArequired | 7.86:1AAA |
| Accent Foreground | 1.00:1Fail | 1.13:1Fail | 8.35:1AAA | 7.86:1AAArequired |
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: #f9fcff;
--surface: #ecf3fd;
--text: #070e18;
--primary: #5c3d2e;
--primary-foreground: #f9fcff;
--accent: #e0a83c;
--accent-foreground: #070e18;
}
.dark {
--background: #11171f;
--surface: #1f2327;
--text: #edf5ff;
--primary: #cea997;
--primary-foreground: #11171f;
--accent: #d9a234;
--accent-foreground: #11171f;
}
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: #f9fcff;
--surface: #ecf3fd;
--text: #070e18;
--primary: #5c3d2e;
--primary-foreground: #f9fcff;
--accent: #e0a83c;
--accent-foreground: #070e18;
}
.dark {
color-scheme: dark;
--background: #11171f;
--surface: #1f2327;
--text: #edf5ff;
--primary: #cea997;
--primary-foreground: #11171f;
--accent: #d9a234;
--accent-foreground: #11171f;
}
@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 Arcade Cabinet, which shares the retro style: text reaches 18.79:1 in light mode against 18.95:1, the primary is brown where Arcade Cabinet's is red, and both use a yellow accent.
- Compared with Amber Archive, which shares the retro style: text reaches 18.79:1 in light mode against 13.58:1, both use a brown primary, and both use a yellow accent.