PreviewingGo to this paletteOpen in generator
Code
/* Banana Split — colorset.net */
:root {
--color-1: #FFE135;
--color-2: #FFE849;
--color-3: #FFEF5D;
--color-4: #FFF671;
--color-5: #FFFD85;
--color-bg: #F8F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D6C4;
--color-text: #5C4F00;
--color-muted: #716C51;
--color-primary: #9D8900;
--color-on-primary: #000000;
--color-accent: #7C7900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F00;
--color-surface: #1E1A05;
--color-border: #332E15;
--color-text: #F8F9D2;
--color-muted: #8D8D71;
--color-primary: #FFE135;
--color-on-primary: #130F00;
--color-accent: #FFFD85;
--color-on-accent: #130F00;
}
}
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 #FFFD85 | adjusted for contrast · from #FFE135 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFE135 | adjusted for contrast · from #FFFD85 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFE135 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFE135 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.77:1 | AAA pass 4.5:1 | |
| Text on surface | 16.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.64:1 | AA pass 4.5:1 | |
| Label on primary | 14.67:1 | AAA pass 4.5:1 | |
| Label on accent | 17.92:1 | AAA pass 4.5:1 | |
| Primary on background | 14.67:1 | AAA pass 3:1 | |
| Accent on background | 17.92: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 | #FFE135 (Text 1) | #FFE849 (Text 2) | #FFEF5D (Text 3) | #FFF671 (Text 4) | #FFFD85 (Text 5) |
|---|---|---|---|---|---|
| #FFE135 | Same color | 1.05— | 1.10— | 1.16— | 1.22— |
| #FFE849 | 1.05— | Same color | 1.05— | 1.11— | 1.16— |
| #FFEF5D | 1.10— | 1.05— | Same color | 1.05— | 1.11— |
| #FFF671 | 1.16— | 1.11— | 1.05— | Same color | 1.05— |
| #FFFD85 | 1.22— | 1.16— | 1.11— | 1.05— | Same color |
Shades
Shades and tints (50–950)
