Palette Library

Seventies Den

A retro palette for creative with an orange primary and a yellow accent. Text reaches 16.24:1 in light mode and 14.49:1 in dark mode.

How to use it

Seventies Den's roles on a real interface, with the ratios stored for this palette.

  • Light mode: page #f8f5f3, cards #ede8e3, and text #23160a at 16.24:1; buttons #a0522d with #f8f5f3 labels at 5.17:1; highlights #e9c46a with #23160a text at 10.55:1.
  • Dark mode: page #150e07, cards #1a1919, and text #eaded5 at 14.49:1; buttons #dd8963 with #150e07 labels at 7.13:1; highlights #e9c46a with #150e07 text at 11.44:1.
  • Links: #a0522d reaches 5.17:1 on the light page, and #dd8963 reaches 7.13:1 on the dark page.
  • The accent as text: In light mode, keep #e9c46a for fills and badges, not text: it reaches only 1.53: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
#f8f5f3
#150e07
Surface
#ede8e3
#1a1919
Text
#23160a
#eaded5
Primary
#a0522d
#dd8963
Primary Foreground
#f8f5f3
#150e07
Accent
#e9c46a
#e9c46a
Accent Foreground
#23160a
#150e07

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
Text16.24:1AAArequired14.49:1AAArequired3.14:1AA large10.55:1AAA
Primary5.17:1AArequired4.61:1AA1.00:1Fail3.36:1AA large
Accent1.53:1Fail1.37:1Fail3.36:1AA large1.00:1Fail
Primary Foreground1.00:1Fail1.12:1Fail5.17:1AArequired1.53:1Fail
Accent Foreground16.24:1AAA14.49:1AAA3.14:1AA large10.55:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text14.49:1AAArequired13.28:1AAArequired2.03:1Fail1.26:1Fail
Primary7.13:1AAArequired6.54:1AA1.00:1Fail1.60:1Fail
Accent11.44:1AAA10.50:1AAA1.60:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.09:1Fail7.13:1AAArequired11.44:1AAA
Accent Foreground1.00:1Fail1.09:1Fail7.13:1AAA11.44: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: #f8f5f3;
  --surface: #ede8e3;
  --text: #23160a;
  --primary: #a0522d;
  --primary-foreground: #f8f5f3;
  --accent: #e9c46a;
  --accent-foreground: #23160a;
}

.dark {
  --background: #150e07;
  --surface: #1a1919;
  --text: #eaded5;
  --primary: #dd8963;
  --primary-foreground: #150e07;
  --accent: #e9c46a;
  --accent-foreground: #150e07;
}

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: #f8f5f3;
  --surface: #ede8e3;
  --text: #23160a;
  --primary: #a0522d;
  --primary-foreground: #f8f5f3;
  --accent: #e9c46a;
  --accent-foreground: #23160a;
}

.dark {
  color-scheme: dark;
  --background: #150e07;
  --surface: #1a1919;
  --text: #eaded5;
  --primary: #dd8963;
  --primary-foreground: #150e07;
  --accent: #e9c46a;
  --accent-foreground: #150e07;
}

@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 Midcentury, which shares the retro style: text reaches 16.24:1 in light mode against 17.82:1, both use a orange primary, and the accent is yellow where Midcentury's is green.
  • Compared with Chalkboard, which shares the retro style: text reaches 16.24:1 in light mode against 12.43:1, the primary is orange where Chalkboard's is blue, and both use a yellow accent.