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.

Get startedNew

Explore 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.

Get startedNew

Explore your palette →

Roles

Five roles and their two foregrounds. Copy the exact HEX values.

RoleLightDark
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.

light mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text17.02:1AAArequired15.25:1AAArequired3.71:1AA large1.95:1Fail
Primary4.58:1AArequired4.10:1AA large1.00:1Fail1.90:1Fail
Accent8.71:1AAA7.81:1AAA1.90:1Fail1.00:1Fail
Primary Foreground1.07:1Fail1.19:1Fail4.92:1AArequired9.37:1AAA
Accent Foreground1.00:1Fail1.11:1Fail4.58:1AA8.71:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text14.05:1AAArequired12.78:1AAArequired2.16:1Fail3.05:1AA large
Primary6.47:1AArequired5.89:1AA1.00:1Fail1.40:1Fail
Accent4.59:1AA4.18:1AA large1.40:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.09:1Fail6.47:1AArequired4.59:1AA
Accent Foreground1.17:1Fail1.29:1Fail7.63:1AAA5.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.