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.
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 | #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.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.24:1AAArequired | 14.49:1AAArequired | 3.14:1AA large | 10.55:1AAA |
| Primary | 5.17:1AArequired | 4.61:1AA | 1.00:1Fail | 3.36:1AA large |
| Accent | 1.53:1Fail | 1.37:1Fail | 3.36:1AA large | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.12:1Fail | 5.17:1AArequired | 1.53:1Fail |
| Accent Foreground | 16.24:1AAA | 14.49:1AAA | 3.14:1AA large | 10.55:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.49:1AAArequired | 13.28:1AAArequired | 2.03:1Fail | 1.26:1Fail |
| Primary | 7.13:1AAArequired | 6.54:1AA | 1.00:1Fail | 1.60:1Fail |
| Accent | 11.44:1AAA | 10.50:1AAA | 1.60:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.09:1Fail | 7.13:1AAArequired | 11.44:1AAA |
| Accent Foreground | 1.00:1Fail | 1.09:1Fail | 7.13:1AAA | 11.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.