Palette Library
Copper Kettle
A retro palette for food with an orange primary and a teal accent. Text reaches 13.86:1 in light mode and 15.92:1 in dark mode.
How to use it
Copper Kettle's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f5f5f5, cards #e3e5e9, and text #262627 at 13.86:1; buttons #9c4a1a with #f5f5f5 labels at 5.65:1; highlights #2a9d8f with #000000 text at 6.31:1.
- Dark mode: page #0f1318, cards #1d2024, and text #ededed at 15.92:1; buttons #e38a5d with #0f1318 labels at 7.15:1; highlights #3aa99a with #0f1318 text at 6.49:1.
- Links: #9c4a1a reaches 5.65:1 on the light page, and #e38a5d reaches 7.15:1 on the dark page.
- The accent as text: In light mode, keep #2a9d8f for fills and badges, not text: it reaches only 3.04: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 | #f5f5f5 | #0f1318 |
| Surface | #e3e5e9 | #1d2024 |
| Text | #262627 | #ededed |
| Primary | #9c4a1a | #e38a5d |
| Primary Foreground | #f5f5f5 | #0f1318 |
| Accent | #2a9d8f | #3aa99a |
| Accent Foreground | #000000 | #0f1318 |
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 | 13.86:1AAArequired | 11.98:1AAArequired | 2.45:1Fail | 4.54:1AA |
| Primary | 5.65:1AArequired | 4.88:1AA | 1.00:1Fail | 1.85:1Fail |
| Accent | 3.04:1AA large | 2.63:1Fail | 1.85:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.15:1Fail | 5.65:1AArequired | 3.04:1AA large |
| Accent Foreground | 19.26:1AAA | 16.65:1AAA | 3.40:1AA large | 6.31:1AArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.92:1AAArequired | 13.96:1AAArequired | 2.22:1Fail | 2.44:1Fail |
| Primary | 7.15:1AAArequired | 6.27:1AA | 1.00:1Fail | 1.10:1Fail |
| Accent | 6.49:1AA | 5.70:1AA | 1.10:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.13:1Fail | 7.15:1AAArequired | 6.49:1AA |
| Accent Foreground | 1.00:1Fail | 1.13:1Fail | 7.15:1AAA | 6.49:1AArequired |
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: #f5f5f5;
--surface: #e3e5e9;
--text: #262627;
--primary: #9c4a1a;
--primary-foreground: #f5f5f5;
--accent: #2a9d8f;
--accent-foreground: #000000;
}
.dark {
--background: #0f1318;
--surface: #1d2024;
--text: #ededed;
--primary: #e38a5d;
--primary-foreground: #0f1318;
--accent: #3aa99a;
--accent-foreground: #0f1318;
}
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: #f5f5f5;
--surface: #e3e5e9;
--text: #262627;
--primary: #9c4a1a;
--primary-foreground: #f5f5f5;
--accent: #2a9d8f;
--accent-foreground: #000000;
}
.dark {
color-scheme: dark;
--background: #0f1318;
--surface: #1d2024;
--text: #ededed;
--primary: #e38a5d;
--primary-foreground: #0f1318;
--accent: #3aa99a;
--accent-foreground: #0f1318;
}
@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 Retro Diner, which shares the retro style: text reaches 13.86:1 in light mode against 17.59:1, the primary is orange where Retro Diner's is red, and both use a teal accent.
- Compared with Olive Grove, which shares the Food topic: text reaches 13.86:1 in light mode against 17.63:1, the primary is orange where Olive Grove's is green, and the accent is teal where Olive Grove's is orange.