PreviewingGo to this paletteOpen in generator
Code
/* Buttercup Morning — colorset.net */
:root {
--color-1: #FFFBEB;
--color-2: #FEF3C7;
--color-3: #FDE68A;
--color-4: #FCD34D;
--color-5: #FBBF24;
--color-bg: #FFFBEB;
--color-surface: #F6F2E2;
--color-border: #DED9C6;
--color-text: #694D00;
--color-muted: #796D54;
--color-primary: #B08300;
--color-on-primary: #000000;
--color-accent: #8F8B7D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #FFFBEB;
--color-muted: #918D7F;
--color-primary: #FBBF24;
--color-on-primary: #160E00;
--color-accent: #FDE68A;
--color-on-accent: #160E00;
}
}
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 #FBBF24 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FBBF24 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FBBF24 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FBBF24 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 6.09:1 | AA pass 4.5:1 | |
| Label on accent | 6.16:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.46:1 | AAA pass 4.5:1 | |
| Text on surface | 16.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.76:1 | AA pass 4.5:1 | |
| Label on primary | 11.47:1 | AAA pass 4.5:1 | |
| Label on accent | 15.37:1 | AAA pass 4.5:1 | |
| Primary on background | 11.47:1 | AAA pass 3:1 | |
| Accent on background | 15.37: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 | #FFFBEB (Text 1) | #FEF3C7 (Text 2) | #FDE68A (Text 3) | #FCD34D (Text 4) | #FBBF24 (Text 5) |
|---|---|---|---|---|---|
| #FFFBEB | Same color | 1.07— | 1.20— | 1.39— | 1.61— |
| #FEF3C7 | 1.07— | Same color | 1.12— | 1.29— | 1.50— |
| #FDE68A | 1.20— | 1.12— | Same color | 1.16— | 1.34— |
| #FCD34D | 1.39— | 1.29— | 1.16— | Same color | 1.16— |
| #FBBF24 | 1.61— | 1.50— | 1.34— | 1.16— | Same color |
Shades
Shades and tints (50–950)
