Palette Library
Gold Standard
An elegant palette for luxury with a gray primary and a yellow accent. Text reaches 15.80:1 in light mode and 16.19:1 in dark mode.
How to use it
Gold Standard's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f3f6f9, cards #e0e9f1, and text #0f1d27 at 15.80:1; buttons #3d3d3d with #f3f6f9 labels at 10.01:1; highlights #d4af37 with #0f1d27 text at 8.14:1.
- Dark mode: page #080d11, cards #11181e, and text #ddecf8 at 16.19:1; buttons #b6b6b6 with #080d11 labels at 9.62:1; highlights #d4af37 with #080d11 text at 9.28:1.
- Links: #3d3d3d reaches 10.01:1 on the light page, and #b6b6b6 reaches 9.62:1 on the dark page.
- The accent as text: In light mode, keep #d4af37 for fills and badges, not text: it reaches only 1.93: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 | #f3f6f9 | #080d11 |
| Surface | #e0e9f1 | #11181e |
| Text | #0f1d27 | #ddecf8 |
| Primary | #3d3d3d | #b6b6b6 |
| Primary Foreground | #f3f6f9 | #080d11 |
| Accent | #d4af37 | #d4af37 |
| Accent Foreground | #0f1d27 | #080d11 |
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 | 15.80:1AAArequired | 13.95:1AAArequired | 1.57:1Fail | 8.14:1AAA |
| Primary | 10.01:1AAArequired | 8.84:1AAA | 1.00:1Fail | 5.16:1AA |
| Accent | 1.93:1Fail | 1.71:1Fail | 5.16:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.13:1Fail | 10.01:1AAArequired | 1.93:1Fail |
| Accent Foreground | 15.80:1AAA | 13.95:1AAA | 1.57:1Fail | 8.14:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.19:1AAArequired | 14.85:1AAArequired | 1.68:1Fail | 1.74:1Fail |
| Primary | 9.62:1AAArequired | 8.82:1AAA | 1.00:1Fail | 1.03:1Fail |
| Accent | 9.28:1AAA | 8.51:1AAA | 1.03:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.09:1Fail | 9.62:1AAArequired | 9.28:1AAA |
| Accent Foreground | 1.00:1Fail | 1.09:1Fail | 9.62:1AAA | 9.28: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: #f3f6f9;
--surface: #e0e9f1;
--text: #0f1d27;
--primary: #3d3d3d;
--primary-foreground: #f3f6f9;
--accent: #d4af37;
--accent-foreground: #0f1d27;
}
.dark {
--background: #080d11;
--surface: #11181e;
--text: #ddecf8;
--primary: #b6b6b6;
--primary-foreground: #080d11;
--accent: #d4af37;
--accent-foreground: #080d11;
}
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: #f3f6f9;
--surface: #e0e9f1;
--text: #0f1d27;
--primary: #3d3d3d;
--primary-foreground: #f3f6f9;
--accent: #d4af37;
--accent-foreground: #0f1d27;
}
.dark {
color-scheme: dark;
--background: #080d11;
--surface: #11181e;
--text: #ddecf8;
--primary: #b6b6b6;
--primary-foreground: #080d11;
--accent: #d4af37;
--accent-foreground: #080d11;
}
@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 Onyx Gold, which shares the elegant style: text reaches 15.80:1 in light mode against 14.65:1, both use a gray primary, and both use a yellow accent.
- Compared with Velvet Lounge, which shares the elegant style: text reaches 15.80:1 in light mode against 14.00:1, the primary is gray where Velvet Lounge's is pink, and both use a yellow accent.