Palette Library
Harvest Table
An earthy palette for food with an orange primary and a brown accent. Text reaches 17.02:1 in light mode and 14.05:1 in dark mode.
How to use it
Harvest Table's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fbf6f0, cards #edeae6, and text #19140e at 17.02:1; buttons #a16207 with #ffffff labels at 4.92:1; highlights #7c2d12 with #fbf6f0 text at 8.71:1.
- Dark mode: page #1b1713, cards #271f18, and text #ece3da at 14.05:1; buttons #d08e44 with #1b1713 labels at 6.47:1; highlights #c06a4f with #000000 text at 5.41:1.
- Links: #a16207 reaches 4.58:1 on the light page, and #d08e44 reaches 6.47:1 on the dark page.
- The accent as text: #7c2d12 also works as text: 8.71:1 on the light page and 4.59:1 on the dark 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 | #fbf6f0 | #1b1713 |
| Surface | #edeae6 | #271f18 |
| Text | #19140e | #ece3da |
| Primary | #a16207 | #d08e44 |
| Primary Foreground | #ffffff | #1b1713 |
| Accent | #7c2d12 | #c06a4f |
| Accent Foreground | #fbf6f0 | #000000 |
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 | 17.02:1AAArequired | 15.25:1AAArequired | 3.71:1AA large | 1.95:1Fail |
| Primary | 4.58:1AArequired | 4.10:1AA large | 1.00:1Fail | 1.90:1Fail |
| Accent | 8.71:1AAA | 7.81:1AAA | 1.90:1Fail | 1.00:1Fail |
| Primary Foreground | 1.07:1Fail | 1.19:1Fail | 4.92:1AArequired | 9.37:1AAA |
| Accent Foreground | 1.00:1Fail | 1.11:1Fail | 4.58:1AA | 8.71:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.05:1AAArequired | 12.78:1AAArequired | 2.16:1Fail | 3.05:1AA large |
| Primary | 6.47:1AArequired | 5.89:1AA | 1.00:1Fail | 1.40:1Fail |
| Accent | 4.59:1AA | 4.18:1AA large | 1.40:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.09:1Fail | 6.47:1AArequired | 4.59:1AA |
| Accent Foreground | 1.17:1Fail | 1.29:1Fail | 7.63:1AAA | 5.41: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: #fbf6f0;
--surface: #edeae6;
--text: #19140e;
--primary: #a16207;
--primary-foreground: #ffffff;
--accent: #7c2d12;
--accent-foreground: #fbf6f0;
}
.dark {
--background: #1b1713;
--surface: #271f18;
--text: #ece3da;
--primary: #d08e44;
--primary-foreground: #1b1713;
--accent: #c06a4f;
--accent-foreground: #000000;
}
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: #fbf6f0;
--surface: #edeae6;
--text: #19140e;
--primary: #a16207;
--primary-foreground: #ffffff;
--accent: #7c2d12;
--accent-foreground: #fbf6f0;
}
.dark {
color-scheme: dark;
--background: #1b1713;
--surface: #271f18;
--text: #ece3da;
--primary: #d08e44;
--primary-foreground: #1b1713;
--accent: #c06a4f;
--accent-foreground: #000000;
}
@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 Olive Grove, which shares the earthy style: text reaches 17.02:1 in light mode against 17.63:1, the primary is orange where Olive Grove's is green, and the accent is brown where Olive Grove's is orange.
- Compared with Espresso Bar, which shares the earthy style: text reaches 17.02:1 in light mode against 14.58:1, the primary is orange where Espresso Bar's is brown, and the accent is brown where Espresso Bar's is yellow.