Palette Library
Vault Green
An elegant palette for finance with a green primary and a yellow accent. Text reaches 18.60:1 in light mode and 16.32:1 in dark mode.
How to use it
Vault Green's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fafffd, cards #e8f3ee, and text #08140f at 18.60:1; buttons #065f46 with #fafffd labels at 7.60:1; highlights #d4af37 with #08140f text at 8.93:1.
- Dark mode: page #0b110f, cards #131816, and text #def2e9 at 16.32:1; buttons #75bfa1 with #0b110f labels at 8.82:1; highlights #d4af37 with #0b110f text at 9.06:1.
- Links: #065f46 reaches 7.60:1 on the light page, and #75bfa1 reaches 8.82:1 on the dark page.
- The accent as text: In light mode, keep #d4af37 for fills and badges, not text: it reaches only 2.08: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 | #fafffd | #0b110f |
| Surface | #e8f3ee | #131816 |
| Text | #08140f | #def2e9 |
| Primary | #065f46 | #75bfa1 |
| Primary Foreground | #fafffd | #0b110f |
| Accent | #d4af37 | #d4af37 |
| Accent Foreground | #08140f | #0b110f |
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.60:1AAArequired | 16.54:1AAArequired | 2.44:1Fail | 8.93:1AAA |
| Primary | 7.60:1AAArequired | 6.76:1AA | 1.00:1Fail | 3.65:1AA large |
| Accent | 2.08:1Fail | 1.85:1Fail | 3.65:1AA large | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.12:1Fail | 7.60:1AAArequired | 2.08:1Fail |
| Accent Foreground | 18.60:1AAA | 16.54:1AAA | 2.44:1Fail | 8.93:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.32:1AAArequired | 15.37:1AAArequired | 1.84:1Fail | 1.80:1Fail |
| Primary | 8.82:1AAArequired | 8.31:1AAA | 1.00:1Fail | 1.02:1Fail |
| Accent | 9.06:1AAA | 8.53:1AAA | 1.02:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.06:1Fail | 8.82:1AAArequired | 9.06:1AAA |
| Accent Foreground | 1.00:1Fail | 1.06:1Fail | 8.82:1AAA | 9.06: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: #fafffd;
--surface: #e8f3ee;
--text: #08140f;
--primary: #065f46;
--primary-foreground: #fafffd;
--accent: #d4af37;
--accent-foreground: #08140f;
}
.dark {
--background: #0b110f;
--surface: #131816;
--text: #def2e9;
--primary: #75bfa1;
--primary-foreground: #0b110f;
--accent: #d4af37;
--accent-foreground: #0b110f;
}
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: #fafffd;
--surface: #e8f3ee;
--text: #08140f;
--primary: #065f46;
--primary-foreground: #fafffd;
--accent: #d4af37;
--accent-foreground: #08140f;
}
.dark {
color-scheme: dark;
--background: #0b110f;
--surface: #131816;
--text: #def2e9;
--primary: #75bfa1;
--primary-foreground: #0b110f;
--accent: #d4af37;
--accent-foreground: #0b110f;
}
@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 Savings Jar, which shares the Finance topic: text reaches 18.60:1 in light mode against 16.35:1, both use a green primary, and both use a yellow accent.
- Compared with Steady Ledger, which shares the Finance topic: text reaches 18.60:1 in light mode against 16.94:1, both use a green primary, and the accent is yellow where Steady Ledger's is blue.