PreviewingGo to this paletteOpen in generator
Code
/* Gilded Counsel — colorset.net */
:root {
--color-1: #F8F5EE;
--color-2: #282E38;
--color-3: #DDB13A;
--color-4: #97871D;
--color-5: #0B1628;
--color-bg: #F8F5EE;
--color-surface: #FEFCF8;
--color-border: #E1DCD2;
--color-text: #0B1628;
--color-muted: #5D6B81;
--color-primary: #847500;
--color-on-primary: #FFFFFF;
--color-accent: #8F8C86;
--color-on-accent: #0B1628;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1628;
--color-surface: #152133;
--color-border: #29364A;
--color-text: #F8F5EE;
--color-muted: #918E88;
--color-primary: #847500;
--color-on-primary: #FFFFFF;
--color-accent: #5F6D83;
--color-on-accent: #FFFFFF;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #97871D | adjusted for contrast · from #97871D |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #97871D | adjusted for contrast · from #97871D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.63:1 | AAA pass 4.5:1 | |
| Text on surface | 17.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.40:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.63:1 | AAA pass 4.5:1 | |
| Text on surface | 14.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.25:1 | AA pass 4.5:1 | |
| Primary on background | 3.90:1 | AA Large pass 3:1 | |
| Accent on background | 3.45:1 | AA Large pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #F8F5EE (Text 1) | #282E38 (Text 2) | #DDB13A (Text 3) | #97871D (Text 4) | #0B1628 (Text 5) |
|---|---|---|---|---|---|
| #F8F5EE | Same color | 12.54AAA | 1.85— | 3.33AA Large | 16.63AAA |
| #282E38 | 12.54AAA | Same color | 6.78AA | 3.77AA Large | 1.33— |
| #DDB13A | 1.85— | 6.78AA | Same color | 1.80— | 8.99AAA |
| #97871D | 3.33AA Large | 3.77AA Large | 1.80— | Same color | 5.00AA |
| #0B1628 | 16.63AAA | 1.33— | 8.99AAA | 5.00AA | Same color |
Shades
Shades and tints (50–950)
