PreviewingGo to this paletteOpen in generator
Code
/* Pumpkin Patch — colorset.net */
:root {
--color-1: #FBF1E4;
--color-2: #D9631E;
--color-3: #5E6E2E;
--color-4: #EFCFA9;
--color-5: #2E2017;
--color-bg: #FBF1E4;
--color-surface: #FFF9F1;
--color-border: #E4D8C8;
--color-text: #2E2017;
--color-muted: #7A695E;
--color-primary: #C35200;
--color-on-primary: #FFFFFF;
--color-accent: #5E6E2E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2E2017;
--color-surface: #3A2B22;
--color-border: #524034;
--color-text: #FBF1E4;
--color-muted: #9F968A;
--color-primary: #D9631E;
--color-on-primary: #000000;
--color-accent: #6F8040;
--color-on-accent: #000000;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D9631E | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #5E6E2E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.08:1 | AAA pass 4.5:1 | |
| Text on surface | 15.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 5.02:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.08:1 | AAA pass 4.5:1 | |
| Text on surface | 12.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.40:1 | AA pass 4.5:1 | |
| Label on primary | 5.75:1 | AA pass 4.5:1 | |
| Label on accent | 4.84:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.62: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 | #FBF1E4 (Text 1) | #D9631E (Text 2) | #5E6E2E (Text 3) | #EFCFA9 (Text 4) | #2E2017 (Text 5) |
|---|---|---|---|---|---|
| #FBF1E4 | Same color | 3.27AA Large | 5.02AA | 1.33— | 14.08AAA |
| #D9631E | 3.27AA Large | Same color | 1.54— | 2.46— | 4.31AA Large |
| #5E6E2E | 5.02AA | 1.54— | Same color | 3.78AA Large | 2.81— |
| #EFCFA9 | 1.33— | 2.46— | 3.78AA Large | Same color | 10.61AAA |
| #2E2017 | 14.08AAA | 4.31AA Large | 2.81— | 10.61AAA | Same color |
Shades
Shades and tints (50–950)
