PreviewingGo to this paletteOpen in generator
Code
/* Daffodil Gold — colorset.net */
:root {
--color-1: #FFF59D;
--color-2: #FFF176;
--color-3: #FFEE58;
--color-4: #FFEB3B;
--color-5: #FDD835;
--color-bg: #F9F8E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #5E4E00;
--color-muted: #726B51;
--color-primary: #8C7500;
--color-on-primary: #FFFFFF;
--color-accent: #978A00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #342E15;
--color-text: #F7F3CD;
--color-muted: #8D8A6E;
--color-primary: #FDD835;
--color-on-primary: #140F00;
--color-accent: #FFF59D;
--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 #FFF59D | adjusted for contrast · from #FDD835 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FDD835 | adjusted for contrast · from #FFF59D |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FDD835 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FDD835 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.99:1 | AAA pass 4.5:1 | |
| Text on surface | 15.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 13.71:1 | AAA pass 4.5:1 | |
| Label on accent | 17.12:1 | AAA pass 4.5:1 | |
| Primary on background | 13.71:1 | AAA pass 3:1 | |
| Accent on background | 17.12: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 | #FFF59D (Text 1) | #FFF176 (Text 2) | #FFEE58 (Text 3) | #FFEB3B (Text 4) | #FDD835 (Text 5) |
|---|---|---|---|---|---|
| #FFF59D | Same color | 1.04— | 1.07— | 1.09— | 1.25— |
| #FFF176 | 1.04— | Same color | 1.03— | 1.05— | 1.20— |
| #FFEE58 | 1.07— | 1.03— | Same color | 1.02— | 1.17— |
| #FFEB3B | 1.09— | 1.05— | 1.02— | Same color | 1.14— |
| #FDD835 | 1.25— | 1.20— | 1.17— | 1.14— | Same color |
Shades
Shades and tints (50–950)
