Palette Library
Sketchbook
A minimal palette for creative with a gray primary and a yellow accent. Text reaches 12.83:1 in light mode and 17.09:1 in dark mode.
How to use it
Sketchbook's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #feffff, cards #edf4fb, and text #273340 at 12.83:1; buttons #495057 with #feffff labels at 8.16:1; highlights #fab005 with #273340 text at 6.90:1.
- Dark mode: page #0f1011, cards #171b1f, and text #e9f4ff at 17.09:1; buttons #a7afb7 with #0f1011 labels at 8.57:1; highlights #fab005 with #0f1011 text at 10.22:1.
- Links: #495057 reaches 8.16:1 on the light page, and #a7afb7 reaches 8.57:1 on the dark page.
- The accent as text: In light mode, keep #fab005 for fills and badges, not text: it reaches only 1.85: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 | #feffff | #0f1011 |
| Surface | #edf4fb | #171b1f |
| Text | #273340 | #e9f4ff |
| Primary | #495057 | #a7afb7 |
| Primary Foreground | #feffff | #0f1011 |
| Accent | #fab005 | #fab005 |
| Accent Foreground | #273340 | #0f1011 |
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 | 12.83:1AAArequired | 11.58:1AAArequired | 1.57:1Fail | 6.90:1AA |
| Primary | 8.16:1AAArequired | 7.37:1AAA | 1.00:1Fail | 4.39:1AA large |
| Accent | 1.85:1Fail | 1.67:1Fail | 4.39:1AA large | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.10:1Fail | 8.16:1AAArequired | 1.85:1Fail |
| Accent Foreground | 12.83:1AAA | 11.58:1AAA | 1.57:1Fail | 6.90:1AArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 17.09:1AAArequired | 15.53:1AAArequired | 1.99:1Fail | 1.67:1Fail |
| Primary | 8.57:1AAArequired | 7.79:1AAA | 1.00:1Fail | 1.19:1Fail |
| Accent | 10.22:1AAA | 9.29:1AAA | 1.19:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.10:1Fail | 8.57:1AAArequired | 10.22:1AAA |
| Accent Foreground | 1.00:1Fail | 1.10:1Fail | 8.57:1AAA | 10.22: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: #feffff;
--surface: #edf4fb;
--text: #273340;
--primary: #495057;
--primary-foreground: #feffff;
--accent: #fab005;
--accent-foreground: #273340;
}
.dark {
--background: #0f1011;
--surface: #171b1f;
--text: #e9f4ff;
--primary: #a7afb7;
--primary-foreground: #0f1011;
--accent: #fab005;
--accent-foreground: #0f1011;
}
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: #feffff;
--surface: #edf4fb;
--text: #273340;
--primary: #495057;
--primary-foreground: #feffff;
--accent: #fab005;
--accent-foreground: #273340;
}
.dark {
color-scheme: dark;
--background: #0f1011;
--surface: #171b1f;
--text: #e9f4ff;
--primary: #a7afb7;
--primary-foreground: #0f1011;
--accent: #fab005;
--accent-foreground: #0f1011;
}
@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 Paper and Ink, which shares the minimal style: text reaches 12.83:1 in light mode against 14.91:1, both use a gray primary, and the accent is yellow where Paper and Ink's is red.
- Compared with Museum, which shares the Creative topic: text reaches 12.83:1 in light mode against 16.97:1, both use a gray primary, and both use a yellow accent.