Palette Library
Sandstone
A muted palette for travel with an orange primary and a yellow accent. Text reaches 14.87:1 in light mode and 15.46:1 in dark mode.
How to use it
Sandstone's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f7f7f8, cards #e9eef6, and text #212224 at 14.87:1; buttons #8a5a2b with #f7f7f8 labels at 5.48:1; highlights #d6c3a5 with #212224 text at 9.25:1.
- Dark mode: page #0b0d11, cards #17191e, and text #dde6f4 at 15.46:1; buttons #cb9768 with #0b0d11 labels at 7.56:1; highlights #d6c3a5 with #0b0d11 text at 11.30:1.
- Links: #8a5a2b reaches 5.48:1 on the light page, and #cb9768 reaches 7.56:1 on the dark page.
- The accent as text: In light mode, keep #d6c3a5 for fills and badges, not text: it reaches only 1.60: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 | #f7f7f8 | #0b0d11 |
| Surface | #e9eef6 | #17191e |
| Text | #212224 | #dde6f4 |
| Primary | #8a5a2b | #cb9768 |
| Primary Foreground | #f7f7f8 | #0b0d11 |
| Accent | #d6c3a5 | #d6c3a5 |
| Accent Foreground | #212224 | #0b0d11 |
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.87:1AAArequired | 13.66:1AAArequired | 2.71:1Fail | 9.25:1AAA |
| Primary | 5.48:1AArequired | 5.03:1AA | 1.00:1Fail | 3.41:1AA large |
| Accent | 1.60:1Fail | 1.47:1Fail | 3.41:1AA large | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.08:1Fail | 5.48:1AArequired | 1.60:1Fail |
| Accent Foreground | 14.87:1AAA | 13.66:1AAA | 2.71:1Fail | 9.25:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.46:1AAArequired | 13.98:1AAArequired | 2.04:1Fail | 1.36:1Fail |
| Primary | 7.56:1AAArequired | 6.83:1AA | 1.00:1Fail | 1.49:1Fail |
| Accent | 11.30:1AAA | 10.22:1AAA | 1.49:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.10:1Fail | 7.56:1AAArequired | 11.30:1AAA |
| Accent Foreground | 1.00:1Fail | 1.10:1Fail | 7.56:1AAA | 11.30: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: #f7f7f8;
--surface: #e9eef6;
--text: #212224;
--primary: #8a5a2b;
--primary-foreground: #f7f7f8;
--accent: #d6c3a5;
--accent-foreground: #212224;
}
.dark {
--background: #0b0d11;
--surface: #17191e;
--text: #dde6f4;
--primary: #cb9768;
--primary-foreground: #0b0d11;
--accent: #d6c3a5;
--accent-foreground: #0b0d11;
}
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: #f7f7f8;
--surface: #e9eef6;
--text: #212224;
--primary: #8a5a2b;
--primary-foreground: #f7f7f8;
--accent: #d6c3a5;
--accent-foreground: #212224;
}
.dark {
color-scheme: dark;
--background: #0b0d11;
--surface: #17191e;
--text: #dde6f4;
--primary: #cb9768;
--primary-foreground: #0b0d11;
--accent: #d6c3a5;
--accent-foreground: #0b0d11;
}
@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 Dune, which shares the muted style: text reaches 14.87:1 in light mode against 17.52:1, both use a orange primary, and both use a yellow accent.
- Compared with Sage Wellness, which shares the muted style: text reaches 14.87:1 in light mode against 14.29:1, the primary is orange where Sage Wellness's is green, and the accent is yellow where Sage Wellness's is orange.