PreviewingGo to this paletteOpen in generator
Code
/* Golden Canary — colorset.net */
:root {
--color-1: #FFD700;
--color-2: #FFDC1A;
--color-3: #FFE133;
--color-4: #FFE64D;
--color-5: #FFEB66;
--color-bg: #F9F7E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #5E4E00;
--color-muted: #726B51;
--color-primary: #8C7500;
--color-on-primary: #FFFFFF;
--color-accent: #554600;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #342E15;
--color-text: #EFEAC4;
--color-muted: #898569;
--color-primary: #FFD700;
--color-on-primary: #140F00;
--color-accent: #C0A200;
--color-on-accent: #140F00;
}
}
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 #FFEB66 | adjusted for contrast · from #FFD700 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFD700 | adjusted for contrast · from #FFEB66 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFD700 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFD700 | adjusted for contrast · from #FFD700 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 9.28:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 8.62:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.70:1 | AAA pass 4.5:1 | |
| Text on surface | 14.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 13.63:1 | AAA pass 4.5:1 | |
| Label on accent | 7.66:1 | AAA pass 4.5:1 | |
| Primary on background | 13.63:1 | AAA pass 3:1 | |
| Accent on background | 7.66: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 | #FFD700 (Text 1) | #FFDC1A (Text 2) | #FFE133 (Text 3) | #FFE64D (Text 4) | #FFEB66 (Text 5) |
|---|---|---|---|---|---|
| #FFD700 | Same color | 1.04— | 1.07— | 1.11— | 1.16— |
| #FFDC1A | 1.04— | Same color | 1.04— | 1.08— | 1.12— |
| #FFE133 | 1.07— | 1.04— | Same color | 1.04— | 1.08— |
| #FFE64D | 1.11— | 1.08— | 1.04— | Same color | 1.04— |
| #FFEB66 | 1.16— | 1.12— | 1.08— | 1.04— | Same color |
Shades
Shades and tints (50–950)
