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.

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

light mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text13.86:1AAArequired11.98:1AAArequired2.45:1Fail4.54:1AA
Primary5.65:1AArequired4.88:1AA1.00:1Fail1.85:1Fail
Accent3.04:1AA large2.63:1Fail1.85:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.15:1Fail5.65:1AArequired3.04:1AA large
Accent Foreground19.26:1AAA16.65:1AAA3.40:1AA large6.31:1AArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text15.92:1AAArequired13.96:1AAArequired2.22:1Fail2.44:1Fail
Primary7.15:1AAArequired6.27:1AA1.00:1Fail1.10:1Fail
Accent6.49:1AA5.70:1AA1.10:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.13:1Fail7.15:1AAArequired6.49:1AA
Accent Foreground1.00:1Fail1.13:1Fail7.15:1AAA6.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.