Palette Library
Mint Wallet
A pastel palette for finance with a teal primary and a teal accent. Text reaches 14.79:1 in light mode and 18.10:1 in dark mode.
How to use it
Mint Wallet's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f5f6f6, cards #e3efed, and text #102523 at 14.79:1; buttons #0f766e with #f5f6f6 labels at 5.05:1; highlights #99f6e4 with #102523 text at 12.70:1.
- Dark mode: page #080b0a, cards #081614, and text #e2faf6 at 18.10:1; buttons #5db5ac with #080b0a labels at 8.16:1; highlights #99f6e4 with #080b0a text at 15.67:1.
- Links: #0f766e reaches 5.05:1 on the light page, and #5db5ac reaches 8.16:1 on the dark page.
- The accent as text: In light mode, keep #99f6e4 for fills and badges, not text: it reaches only 1.16: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 | #f5f6f6 | #080b0a |
| Surface | #e3efed | #081614 |
| Text | #102523 | #e2faf6 |
| Primary | #0f766e | #5db5ac |
| Primary Foreground | #f5f6f6 | #080b0a |
| Accent | #99f6e4 | #99f6e4 |
| Accent Foreground | #102523 | #080b0a |
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.79:1AAArequired | 13.60:1AAArequired | 2.92:1Fail | 12.70:1AAA |
| Primary | 5.05:1AArequired | 4.64:1AA | 1.00:1Fail | 4.34:1AA large |
| Accent | 1.16:1Fail | 1.07:1Fail | 4.34:1AA large | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.08:1Fail | 5.05:1AArequired | 1.16:1Fail |
| Accent Foreground | 14.79:1AAA | 13.60:1AAA | 2.92:1Fail | 12.70:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 18.10:1AAArequired | 16.94:1AAArequired | 2.21:1Fail | 1.15:1Fail |
| Primary | 8.16:1AAArequired | 7.63:1AAA | 1.00:1Fail | 1.92:1Fail |
| Accent | 15.67:1AAA | 14.67:1AAA | 1.92:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.06:1Fail | 8.16:1AAArequired | 15.67:1AAA |
| Accent Foreground | 1.00:1Fail | 1.06:1Fail | 8.16:1AAA | 15.67: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: #f5f6f6;
--surface: #e3efed;
--text: #102523;
--primary: #0f766e;
--primary-foreground: #f5f6f6;
--accent: #99f6e4;
--accent-foreground: #102523;
}
.dark {
--background: #080b0a;
--surface: #081614;
--text: #e2faf6;
--primary: #5db5ac;
--primary-foreground: #080b0a;
--accent: #99f6e4;
--accent-foreground: #080b0a;
}
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: #f5f6f6;
--surface: #e3efed;
--text: #102523;
--primary: #0f766e;
--primary-foreground: #f5f6f6;
--accent: #99f6e4;
--accent-foreground: #102523;
}
.dark {
color-scheme: dark;
--background: #080b0a;
--surface: #081614;
--text: #e2faf6;
--primary: #5db5ac;
--primary-foreground: #080b0a;
--accent: #99f6e4;
--accent-foreground: #080b0a;
}
@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 Candy Shop, which shares the pastel style: text reaches 14.79:1 in light mode against 14.59:1, the primary is teal where Candy Shop's is pink, and both use a teal accent.
- Compared with Cloud Nine, which shares the pastel style: text reaches 14.79:1 in light mode against 15.63:1, the primary is teal where Cloud Nine's is blue, and both use a teal accent.