PreviewingGo to this paletteOpen in generator
Code
/* Daffodil Yellow — colorset.net */
:root {
--color-1: #FFEC47;
--color-2: #FFEF66;
--color-3: #FFF44F;
--color-4: #FFF685;
--color-5: #FFFACD;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #574F00;
--color-muted: #6E6B50;
--color-primary: #827700;
--color-on-primary: #FFFFFF;
--color-accent: #8F8A61;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121000;
--color-surface: #1D1A06;
--color-border: #322F16;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #FFEC47;
--color-on-primary: #121000;
--color-accent: #C4B429;
--color-on-accent: #121000;
}
}
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 #FFFACD | adjusted for contrast · from #FFEC47 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFEC47 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFEC47 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFEC47 | adjusted for contrast · from #FFEC47 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.03:1 | AAA pass 4.5:1 | |
| Text on surface | 16.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 15.77:1 | AAA pass 4.5:1 | |
| Label on accent | 9.01:1 | AAA pass 4.5:1 | |
| Primary on background | 15.77:1 | AAA pass 3:1 | |
| Accent on background | 9.01: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 | #FFEC47 (Text 1) | #FFEF66 (Text 2) | #FFF44F (Text 3) | #FFF685 (Text 4) | #FFFACD (Text 5) |
|---|---|---|---|---|---|
| #FFEC47 | Same color | 1.03— | 1.06— | 1.08— | 1.14— |
| #FFEF66 | 1.03— | Same color | 1.03— | 1.06— | 1.11— |
| #FFF44F | 1.06— | 1.03— | Same color | 1.03— | 1.08— |
| #FFF685 | 1.08— | 1.06— | 1.03— | Same color | 1.06— |
| #FFFACD | 1.14— | 1.11— | 1.08— | 1.06— | Same color |
Shades
Shades and tints (50–950)
