PreviewingGo to this paletteOpen in generator
Code
/* Desert Marigold — colorset.net */
:root {
--color-1: #FFFBEB;
--color-2: #FEF3C7;
--color-3: #FDE68A;
--color-4: #F59E0B;
--color-5: #D97706;
--color-bg: #FFFBEB;
--color-surface: #F6F2E2;
--color-border: #DED9C6;
--color-text: #754316;
--color-muted: #806957;
--color-primary: #D17200;
--color-on-primary: #000000;
--color-accent: #A08929;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0B02;
--color-surface: #251508;
--color-border: #3D2919;
--color-text: #FFFBEB;
--color-muted: #918D7F;
--color-primary: #D97706;
--color-on-primary: #1A0B02;
--color-accent: #FDE68A;
--color-on-accent: #1A0B02;
}
}
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 | adjusted for contrast · from #D97706 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D97706 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D97706 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D97706 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.88:1 | AAA pass 4.5:1 | |
| Text on surface | 7.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.12:1 | AA pass 4.5:1 | |
| Label on accent | 6.10:1 | AA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.53:1 | AAA pass 4.5:1 | |
| Text on surface | 17.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.78:1 | AA pass 4.5:1 | |
| Label on primary | 6.03:1 | AA pass 4.5:1 | |
| Label on accent | 15.43:1 | AAA pass 4.5:1 | |
| Primary on background | 6.03:1 | AA pass 3:1 | |
| Accent on background | 15.43: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 | #FFFBEB (Text 1) | #FEF3C7 (Text 2) | #FDE68A (Text 3) | #F59E0B (Text 4) | #D97706 (Text 5) |
|---|---|---|---|---|---|
| #FFFBEB | Same color | 1.07— | 1.20— | 2.07— | 3.07AA Large |
| #FEF3C7 | 1.07— | Same color | 1.12— | 1.93— | 2.86— |
| #FDE68A | 1.20— | 1.12— | Same color | 1.72— | 2.56— |
| #F59E0B | 2.07— | 1.93— | 1.72— | Same color | 1.48— |
| #D97706 | 3.07AA Large | 2.86— | 2.56— | 1.48— | Same color |
Shades
Shades and tints (50–950)
