Palette Library
Graphite Console
A minimal palette for developer tools with a gray primary and a teal accent. Text reaches 18.45:1 in light mode and 15.11:1 in dark mode.
How to use it
Graphite Console's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f7f8fa, cards #ededed, and text #050c16 at 18.45:1; buttons #404040 with #f7f8fa labels at 9.75:1; highlights #22d3ee with #050c16 text at 10.85:1.
- Dark mode: page #10171f, cards #1a212a, and text #e1ecfc at 15.11:1; buttons #b4b4b4 with #10171f labels at 8.69:1; highlights #22d3ee with #10171f text at 9.97:1.
- Links: #404040 reaches 9.75:1 on the light page, and #b4b4b4 reaches 8.69:1 on the dark page.
- The accent as text: In light mode, keep #22d3ee for fills and badges, not text: it reaches only 1.70: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 | #f7f8fa | #10171f |
| Surface | #ededed | #1a212a |
| Text | #050c16 | #e1ecfc |
| Primary | #404040 | #b4b4b4 |
| Primary Foreground | #f7f8fa | #10171f |
| Accent | #22d3ee | #22d3ee |
| Accent Foreground | #050c16 | #10171f |
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.45:1AAArequired | 16.75:1AAArequired | 1.89:1Fail | 10.85:1AAA |
| Primary | 9.75:1AAArequired | 8.85:1AAA | 1.00:1Fail | 5.73:1AA |
| Accent | 1.70:1Fail | 1.54:1Fail | 5.73:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.10:1Fail | 9.75:1AAArequired | 1.70:1Fail |
| Accent Foreground | 18.45:1AAA | 16.75:1AAA | 1.89:1Fail | 10.85:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.11:1AAArequired | 13.59:1AAArequired | 1.73:1Fail | 1.51:1Fail |
| Primary | 8.69:1AAArequired | 7.82:1AAA | 1.00:1Fail | 1.14:1Fail |
| Accent | 9.97:1AAA | 8.97:1AAA | 1.14:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.11:1Fail | 8.69:1AAArequired | 9.97:1AAA |
| Accent Foreground | 1.00:1Fail | 1.11:1Fail | 8.69:1AAA | 9.97: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: #f7f8fa;
--surface: #ededed;
--text: #050c16;
--primary: #404040;
--primary-foreground: #f7f8fa;
--accent: #22d3ee;
--accent-foreground: #050c16;
}
.dark {
--background: #10171f;
--surface: #1a212a;
--text: #e1ecfc;
--primary: #b4b4b4;
--primary-foreground: #10171f;
--accent: #22d3ee;
--accent-foreground: #10171f;
}
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: #f7f8fa;
--surface: #ededed;
--text: #050c16;
--primary: #404040;
--primary-foreground: #f7f8fa;
--accent: #22d3ee;
--accent-foreground: #050c16;
}
.dark {
color-scheme: dark;
--background: #10171f;
--surface: #1a212a;
--text: #e1ecfc;
--primary: #b4b4b4;
--primary-foreground: #10171f;
--accent: #22d3ee;
--accent-foreground: #10171f;
}
@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 Hacker Green, which shares the minimal style: text reaches 18.45:1 in light mode against 17.10:1, the primary is gray where Hacker Green's is green, and the accent is teal where Hacker Green's is gray.
- Compared with Paper and Ink, which shares the minimal style: text reaches 18.45:1 in light mode against 14.91:1, both use a gray primary, and the accent is teal where Paper and Ink's is red.