PreviewingGo to this paletteOpen in generator
Code
/* Glazed Mug — colorset.net */
:root {
--color-1: #F5F3EE;
--color-2: #2266A4;
--color-3: #B97340;
--color-4: #A9C1D6;
--color-5: #122032;
--color-bg: #F5F3EE;
--color-surface: #FCFAF7;
--color-border: #DEDAD2;
--color-text: #122032;
--color-muted: #5E6F84;
--color-primary: #A96430;
--color-on-primary: #FFFFFF;
--color-accent: #2266A4;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #122032;
--color-surface: #1D2B3E;
--color-border: #324155;
--color-text: #F5F3EE;
--color-muted: #94928E;
--color-primary: #A96430;
--color-on-primary: #FFFFFF;
--color-accent: #3678B7;
--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 #B97340 | adjusted for contrast · from #B97340 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #2266A4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.81:1 | AAA pass 4.5:1 | |
| Text on surface | 15.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 5.40:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.81:1 | AAA pass 4.5:1 | |
| Text on surface | 12.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.29:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.56:1 | AA Large pass 3:1 | |
| Accent on background | 3.54: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 | #F5F3EE (Text 1) | #2266A4 (Text 2) | #B97340 (Text 3) | #A9C1D6 (Text 4) | #122032 (Text 5) |
|---|---|---|---|---|---|
| #F5F3EE | Same color | 5.40AA | 3.39AA Large | 1.68— | 14.81AAA |
| #2266A4 | 5.40AA | Same color | 1.59— | 3.22AA Large | 2.74— |
| #B97340 | 3.39AA Large | 1.59— | Same color | 2.02— | 4.37AA Large |
| #A9C1D6 | 1.68— | 3.22AA Large | 2.02— | Same color | 8.83AAA |
| #122032 | 14.81AAA | 2.74— | 4.37AA Large | 8.83AAA | Same color |
Shades
Shades and tints (50–950)
