Palette Library
Champagne
An elegant palette for luxury with a brown primary and an orange accent. Text reaches 16.66:1 in light mode and 16.27:1 in dark mode.
How to use it
Champagne's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f9f8f6, cards #f4ece2, and text #1f170e at 16.66:1; buttons #5e503f with #f9f8f6 labels at 7.34:1; highlights #e6ccb2 with #1f170e text at 11.49:1.
- Dark mode: page #100b06, cards #1b140c, and text #f7e8d5 at 16.27:1; buttons #b9a996 with #100b06 labels at 8.55:1; highlights #e6ccb2 with #100b06 text at 12.72:1.
- Links: #5e503f reaches 7.34:1 on the light page, and #b9a996 reaches 8.55:1 on the dark page.
- The accent as text: In light mode, keep #e6ccb2 for fills and badges, not text: it reaches only 1.45: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 | #f9f8f6 | #100b06 |
| Surface | #f4ece2 | #1b140c |
| Text | #1f170e | #f7e8d5 |
| Primary | #5e503f | #b9a996 |
| Primary Foreground | #f9f8f6 | #100b06 |
| Accent | #e6ccb2 | #e6ccb2 |
| Accent Foreground | #1f170e | #100b06 |
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.66:1AAArequired | 15.11:1AAArequired | 2.27:1Fail | 11.49:1AAA |
| Primary | 7.34:1AAArequired | 6.65:1AA | 1.00:1Fail | 5.06:1AA |
| Accent | 1.45:1Fail | 1.31:1Fail | 5.06:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.10:1Fail | 7.34:1AAArequired | 1.45:1Fail |
| Accent Foreground | 16.66:1AAA | 15.11:1AAA | 2.27:1Fail | 11.49:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.27:1AAArequired | 15.15:1AAArequired | 1.90:1Fail | 1.27:1Fail |
| Primary | 8.55:1AAArequired | 7.96:1AAA | 1.00:1Fail | 1.48:1Fail |
| Accent | 12.72:1AAA | 11.84:1AAA | 1.48:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.07:1Fail | 8.55:1AAArequired | 12.72:1AAA |
| Accent Foreground | 1.00:1Fail | 1.07:1Fail | 8.55:1AAA | 12.72: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: #f9f8f6;
--surface: #f4ece2;
--text: #1f170e;
--primary: #5e503f;
--primary-foreground: #f9f8f6;
--accent: #e6ccb2;
--accent-foreground: #1f170e;
}
.dark {
--background: #100b06;
--surface: #1b140c;
--text: #f7e8d5;
--primary: #b9a996;
--primary-foreground: #100b06;
--accent: #e6ccb2;
--accent-foreground: #100b06;
}
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: #f9f8f6;
--surface: #f4ece2;
--text: #1f170e;
--primary: #5e503f;
--primary-foreground: #f9f8f6;
--accent: #e6ccb2;
--accent-foreground: #1f170e;
}
.dark {
color-scheme: dark;
--background: #100b06;
--surface: #1b140c;
--text: #f7e8d5;
--primary: #b9a996;
--primary-foreground: #100b06;
--accent: #e6ccb2;
--accent-foreground: #100b06;
}
@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 Rosewood, which shares the elegant style: text reaches 16.66:1 in light mode against 13.06:1, the primary is brown where Rosewood's is red, and both use a orange accent.
- Compared with Velvet Lounge, which shares the elegant style: text reaches 16.66:1 in light mode against 14.00:1, the primary is brown where Velvet Lounge's is pink, and the accent is orange where Velvet Lounge's is yellow.