PreviewingGo to this paletteOpen in generator
Code
/* Dandelion Yellow — colorset.net */
:root {
--color-1: #FED85D;
--color-2: #FEDF73;
--color-3: #FEE689;
--color-4: #FFED9F;
--color-5: #FFF4B5;
--color-bg: #FAF7E8;
--color-surface: #F0EEDF;
--color-border: #D9D6C3;
--color-text: #5F4B00;
--color-muted: #726A50;
--color-primary: #8D7200;
--color-on-primary: #FFFFFF;
--color-accent: #554400;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150F00;
--color-surface: #1F1905;
--color-border: #352D15;
--color-text: #FAF4CD;
--color-muted: #8E8A6E;
--color-primary: #FED85D;
--color-on-primary: #150F00;
--color-accent: #FFED9F;
--color-on-accent: #150F00;
}
}
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 #FFF4B5 | adjusted for contrast · from #FED85D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FED85D | adjusted for contrast · from #FFF4B5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FED85D | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FED85D | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 9.49:1 | AAA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 8.83:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.17:1 | AAA pass 4.5:1 | |
| Text on surface | 15.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 13.81:1 | AAA pass 4.5:1 | |
| Label on accent | 16.24:1 | AAA pass 4.5:1 | |
| Primary on background | 13.81:1 | AAA pass 3:1 | |
| Accent on background | 16.24: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 | #FED85D (Text 1) | #FEDF73 (Text 2) | #FEE689 (Text 3) | #FFED9F (Text 4) | #FFF4B5 (Text 5) |
|---|---|---|---|---|---|
| #FED85D | Same color | 1.05— | 1.11— | 1.18— | 1.24— |
| #FEDF73 | 1.05— | Same color | 1.05— | 1.12— | 1.18— |
| #FEE689 | 1.11— | 1.05— | Same color | 1.06— | 1.12— |
| #FFED9F | 1.18— | 1.12— | 1.06— | Same color | 1.06— |
| #FFF4B5 | 1.24— | 1.18— | 1.12— | 1.06— | Same color |
Shades
Shades and tints (50–950)
