PreviewingGo to this paletteOpen in generator
Code
/* Sunshine Gold — colorset.net */
:root {
--color-1: #FFFF00;
--color-2: #FFD700;
--color-3: #FFA500;
--color-4: #FFB347;
--color-5: #FFCC99;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D5D7C4;
--color-text: #6C4402;
--color-muted: #796751;
--color-primary: #A56900;
--color-on-primary: #FFFFFF;
--color-accent: #797900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C01;
--color-surface: #241606;
--color-border: #3B2A17;
--color-text: #F6F8D2;
--color-muted: #8B8C71;
--color-primary: #FFA500;
--color-on-primary: #190C01;
--color-accent: #FFFF00;
--color-on-accent: #190C01;
}
}
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 | adjusted for contrast · from #FFCC99 | adjusted for contrast · from #FFA500 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFA500 | adjusted for contrast · from #FFCC99 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFA500 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFA500 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.61:1 | AAA pass 4.5:1 | |
| Text on surface | 16.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.56:1 | AA pass 4.5:1 | |
| Label on primary | 9.72:1 | AAA pass 4.5:1 | |
| Label on accent | 17.87:1 | AAA pass 4.5:1 | |
| Primary on background | 9.72:1 | AAA pass 3:1 | |
| Accent on background | 17.87: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 | #FFFF00 (Text 1) | #FFD700 (Text 2) | #FFA500 (Text 3) | #FFB347 (Text 4) | #FFCC99 (Text 5) |
|---|---|---|---|---|---|
| #FFFF00 | Same color | 1.31— | 1.84— | 1.66— | 1.36— |
| #FFD700 | 1.31— | Same color | 1.41— | 1.27— | 1.04— |
| #FFA500 | 1.84— | 1.41— | Same color | 1.11— | 1.35— |
| #FFB347 | 1.66— | 1.27— | 1.11— | Same color | 1.22— |
| #FFCC99 | 1.36— | 1.04— | 1.35— | 1.22— | Same color |
Shades
Shades and tints (50–950)
