PreviewingGo to this paletteOpen in generator
Code
/* Pineapple Stand — colorset.net */
:root {
--color-1: #FFF9DB;
--color-2: #F4C20D;
--color-3: #3E8E41;
--color-4: #E76F51;
--color-5: #2F2A1A;
--color-bg: #FFF9DB;
--color-surface: #F6F0D2;
--color-border: #DDD7B9;
--color-text: #2F2A1A;
--color-muted: #706B59;
--color-primary: #348538;
--color-on-primary: #FFFFFF;
--color-accent: #DD6648;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0A;
--color-surface: #1B1914;
--color-border: #312E25;
--color-text: #FFF9DB;
--color-muted: #928D71;
--color-primary: #348538;
--color-on-primary: #FFFFFF;
--color-accent: #E76F51;
--color-on-accent: #110F0A;
}
}
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 #2F2A1A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #3E8E41 | adjusted for contrast · from #3E8E41 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E76F51 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.51:1 | AAA pass 4.5:1 | |
| Text on surface | 12.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 6.07:1 | AA pass 4.5:1 | |
| Primary on background | 4.35: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.08:1 | AAA pass 4.5:1 | |
| Text on surface | 16.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.72:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 6.19:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 6.19:1 | AA 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 | #FFF9DB (Text 1) | #F4C20D (Text 2) | #3E8E41 (Text 3) | #E76F51 (Text 4) | #2F2A1A (Text 5) |
|---|---|---|---|---|---|
| #FFF9DB | Same color | 1.58— | 3.85AA Large | 2.92— | 13.51AAA |
| #F4C20D | 1.58— | Same color | 2.44— | 1.85— | 8.57AAA |
| #3E8E41 | 3.85AA Large | 2.44— | Same color | 1.32— | 3.51AA Large |
| #E76F51 | 2.92— | 1.85— | 1.32— | Same color | 4.63AA |
| #2F2A1A | 13.51AAA | 8.57AAA | 3.51AA Large | 4.63AA | Same color |
Shades
Shades and tints (50–950)
