PreviewingGo to this paletteOpen in generator
Code
/* Gilded Loot — colorset.net */
:root {
--color-1: #181400;
--color-2: #F3C530;
--color-3: #9470CD;
--color-4: #BF9000;
--color-5: #F2EFE0;
--color-bg: #F2EFE0;
--color-surface: #F8F6ED;
--color-border: #DAD6C4;
--color-text: #181400;
--color-muted: #6B674D;
--color-primary: #8864C0;
--color-on-primary: #FFFFFF;
--color-accent: #A78500;
--color-on-accent: #181400;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #181400;
--color-surface: #221E06;
--color-border: #38331B;
--color-text: #F2EFE0;
--color-muted: #8D8A7C;
--color-primary: #8864C0;
--color-on-primary: #FFFFFF;
--color-accent: #F3C530;
--color-on-accent: #181400;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9470CD | adjusted for contrast · from #9470CD |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BF9000 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.98:1 | AAA pass 4.5:1 | |
| Text on surface | 17.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.27:1 | AA pass 4.5:1 | |
| Primary on background | 3.93:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.98:1 | AAA pass 4.5:1 | |
| Text on surface | 14.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 11.27:1 | AAA pass 4.5:1 | |
| Primary on background | 4.07:1 | AA Large pass 3:1 | |
| Accent on background | 11.27:1 | AAA 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 | #181400 (Text 1) | #F3C530 (Text 2) | #9470CD (Text 3) | #BF9000 (Text 4) | #F2EFE0 (Text 5) |
|---|---|---|---|---|---|
| #181400 | Same color | 11.27AAA | 4.79AA | 6.33AA | 15.98AAA |
| #F3C530 | 11.27AAA | Same color | 2.35— | 1.78— | 1.42— |
| #9470CD | 4.79AA | 2.35— | Same color | 1.32— | 3.33AA Large |
| #BF9000 | 6.33AA | 1.78— | 1.32— | Same color | 2.53— |
| #F2EFE0 | 15.98AAA | 1.42— | 3.33AA Large | 2.53— | Same color |
Shades
Shades and tints (50–950)
