Palette Library
Emerald City
A bold palette for finance with a green primary and an orange accent. Text reaches 18.16:1 in light mode and 15.95:1 in dark mode.
How to use it
Emerald City's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fefaf5, cards #eeece9, and text #16100a at 18.16:1; buttons #087f5b with #fefaf5 labels at 4.81:1; highlights #f08c00 with #16100a text at 7.60:1.
- Dark mode: page #0d0d0d, cards #191716, and text #f2e7dc at 15.95:1; buttons #55b78f with #0d0d0d labels at 7.91:1; highlights #f08c00 with #0d0d0d text at 7.82:1.
- Links: #087f5b reaches 4.81:1 on the light page, and #55b78f reaches 7.91:1 on the dark page.
- The accent as text: In light mode, keep #f08c00 for fills and badges, not text: it reaches only 2.38: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 | #fefaf5 | #0d0d0d |
| Surface | #eeece9 | #191716 |
| Text | #16100a | #f2e7dc |
| Primary | #087f5b | #55b78f |
| Primary Foreground | #fefaf5 | #0d0d0d |
| Accent | #f08c00 | #f08c00 |
| Accent Foreground | #16100a | #0d0d0d |
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.16:1AAArequired | 16.00:1AAArequired | 3.77:1AA large | 7.60:1AAA |
| Primary | 4.81:1AArequired | 4.24:1AA large | 1.00:1Fail | 2.01:1Fail |
| Accent | 2.38:1Fail | 2.10:1Fail | 2.01:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.13:1Fail | 4.81:1AArequired | 2.38:1Fail |
| Accent Foreground | 18.16:1AAA | 16.00:1AAA | 3.77:1AA large | 7.60:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.95:1AAArequired | 14.66:1AAArequired | 2.01:1Fail | 2.03:1Fail |
| Primary | 7.91:1AAArequired | 7.27:1AAA | 1.00:1Fail | 1.01:1Fail |
| Accent | 7.82:1AAA | 7.19:1AAA | 1.01:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.08:1Fail | 7.91:1AAArequired | 7.82:1AAA |
| Accent Foreground | 1.00:1Fail | 1.08:1Fail | 7.91:1AAA | 7.82: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: #fefaf5;
--surface: #eeece9;
--text: #16100a;
--primary: #087f5b;
--primary-foreground: #fefaf5;
--accent: #f08c00;
--accent-foreground: #16100a;
}
.dark {
--background: #0d0d0d;
--surface: #191716;
--text: #f2e7dc;
--primary: #55b78f;
--primary-foreground: #0d0d0d;
--accent: #f08c00;
--accent-foreground: #0d0d0d;
}
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: #fefaf5;
--surface: #eeece9;
--text: #16100a;
--primary: #087f5b;
--primary-foreground: #fefaf5;
--accent: #f08c00;
--accent-foreground: #16100a;
}
.dark {
color-scheme: dark;
--background: #0d0d0d;
--surface: #191716;
--text: #f2e7dc;
--primary: #55b78f;
--primary-foreground: #0d0d0d;
--accent: #f08c00;
--accent-foreground: #0d0d0d;
}
@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 Forest Trail, which shares a color: text reaches 18.16:1 in light mode against 12.35:1, both use a green primary, and both use a orange accent.
- Compared with Steady Ledger, which shares the Finance topic: text reaches 18.16:1 in light mode against 16.94:1, both use a green primary, and the accent is orange where Steady Ledger's is blue.