PreviewingGo to this paletteOpen in generator
Code
/* Daffodil Morning — colorset.net */
:root {
--color-1: #FFFBEA;
--color-2: #E8B71A;
--color-3: #4F8A5B;
--color-4: #FBE9A8;
--color-5: #26281F;
--color-bg: #FFFBEA;
--color-surface: #F6F2E1;
--color-border: #DED9C5;
--color-text: #26281F;
--color-muted: #6B6E63;
--color-primary: #A98400;
--color-on-primary: #000000;
--color-accent: #468152;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100D;
--color-surface: #191A17;
--color-border: #2D2F28;
--color-text: #FFFBEA;
--color-muted: #918D7E;
--color-primary: #E8B71A;
--color-on-primary: #0F100D;
--color-accent: #468152;
--color-on-accent: #FFFFFF;
}
}
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 #26281F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4F8A5B | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4F8A5B | adjusted for contrast · from #4F8A5B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.40:1 | AAA pass 4.5:1 | |
| Text on surface | 13.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 4.48:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.40:1 | AAA pass 4.5:1 | |
| Text on surface | 16.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.74:1 | AA pass 4.5:1 | |
| Label on primary | 10.20:1 | AAA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 10.20:1 | AAA pass 3:1 | |
| Accent on background | 4.11:1 | AA Large 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 | #FFFBEA (Text 1) | #E8B71A (Text 2) | #4F8A5B (Text 3) | #FBE9A8 (Text 4) | #26281F (Text 5) |
|---|---|---|---|---|---|
| #FFFBEA | Same color | 1.80— | 3.95AA Large | 1.17— | 14.40AAA |
| #E8B71A | 1.80— | Same color | 2.19— | 1.54— | 7.98AAA |
| #4F8A5B | 3.95AA Large | 2.19— | Same color | 3.38AA Large | 3.64AA Large |
| #FBE9A8 | 1.17— | 1.54— | 3.38AA Large | Same color | 12.32AAA |
| #26281F | 14.40AAA | 7.98AAA | 3.64AA Large | 12.32AAA | Same color |
Shades
Shades and tints (50–950)
