Palette Library
Mint Chip
A pastel palette for food with a green primary and a green accent. Text reaches 14.89:1 in light mode and 15.85:1 in dark mode.
How to use it
Mint Chip's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fdfefd, cards #f2f9f2, and text #222822 at 14.89:1; buttons #3c5a3e with #fdfefd labels at 7.62:1; highlights #b2f2bb with #222822 text at 11.69:1.
- Dark mode: page #060a06, cards #121412, and text #dee8de at 15.85:1; buttons #96b797 with #060a06 labels at 9.03:1; highlights #b2f2bb with #060a06 text at 15.47:1.
- Links: #3c5a3e reaches 7.62:1 on the light page, and #96b797 reaches 9.03:1 on the dark page.
- The accent as text: In light mode, keep #b2f2bb for fills and badges, not text: it reaches only 1.27: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 | #fdfefd | #060a06 |
| Surface | #f2f9f2 | #121412 |
| Text | #222822 | #dee8de |
| Primary | #3c5a3e | #96b797 |
| Primary Foreground | #fdfefd | #060a06 |
| Accent | #b2f2bb | #b2f2bb |
| Accent Foreground | #222822 | #060a06 |
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.89:1AAArequired | 14.05:1AAArequired | 1.95:1Fail | 11.69:1AAA |
| Primary | 7.62:1AAArequired | 7.19:1AAA | 1.00:1Fail | 5.98:1AA |
| Accent | 1.27:1Fail | 1.20:1Fail | 5.98:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.05:1Fail | 7.62:1AAArequired | 1.27:1Fail |
| Accent Foreground | 14.89:1AAA | 14.05:1AAA | 1.95:1Fail | 11.69:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.85:1AAArequired | 14.72:1AAArequired | 1.75:1Fail | 1.02:1Fail |
| Primary | 9.03:1AAArequired | 8.38:1AAA | 1.00:1Fail | 1.71:1Fail |
| Accent | 15.47:1AAA | 14.37:1AAA | 1.71:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.07:1Fail | 9.03:1AAArequired | 15.47:1AAA |
| Accent Foreground | 1.00:1Fail | 1.07:1Fail | 9.03:1AAA | 15.47: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: #fdfefd;
--surface: #f2f9f2;
--text: #222822;
--primary: #3c5a3e;
--primary-foreground: #fdfefd;
--accent: #b2f2bb;
--accent-foreground: #222822;
}
.dark {
--background: #060a06;
--surface: #121412;
--text: #dee8de;
--primary: #96b797;
--primary-foreground: #060a06;
--accent: #b2f2bb;
--accent-foreground: #060a06;
}
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: #fdfefd;
--surface: #f2f9f2;
--text: #222822;
--primary: #3c5a3e;
--primary-foreground: #fdfefd;
--accent: #b2f2bb;
--accent-foreground: #222822;
}
.dark {
color-scheme: dark;
--background: #060a06;
--surface: #121412;
--text: #dee8de;
--primary: #96b797;
--primary-foreground: #060a06;
--accent: #b2f2bb;
--accent-foreground: #060a06;
}
@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 Lemon Tart, which shares the pastel style: text reaches 14.89:1 in light mode against 13.81:1, both use a green primary, and the accent is green where Lemon Tart's is yellow.
- Compared with Soft Serve, which shares the pastel style: text reaches 14.89:1 in light mode against 14.02:1, the primary is green where Soft Serve's is pink, and both use a green accent.