PreviewingGo to this paletteOpen in generator
Code
/* Cantaloupe Slice — colorset.net */
:root {
--color-1: #D68910;
--color-2: #E67E22;
--color-3: #F39C12;
--color-4: #F7DC6F;
--color-5: #FCF3CF;
--color-bg: #FCF3CF;
--color-surface: #FFFAE5;
--color-border: #E2DABD;
--color-text: #73490D;
--color-muted: #7F6B56;
--color-primary: #D87107;
--color-on-primary: #000000;
--color-accent: #A38900;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C01;
--color-surface: #241606;
--color-border: #3B2A17;
--color-text: #FCF3CF;
--color-muted: #90896E;
--color-primary: #E67E22;
--color-on-primary: #190C01;
--color-accent: #F7DC6F;
--color-on-accent: #190C01;
}
}
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 5 | adjusted for contrast · from #D68910 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D68910 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E67E22 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D68910 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.02:1 | AAA pass 4.5:1 | |
| Text on surface | 7.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 6.28:1 | AA pass 4.5:1 | |
| Label on accent | 6.14:1 | AA pass 4.5:1 | |
| Primary on background | 3.00:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.23:1 | AAA pass 4.5:1 | |
| Text on surface | 15.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47:1 | AA pass 4.5:1 | |
| Label on primary | 6.74:1 | AA pass 4.5:1 | |
| Label on accent | 14.09:1 | AAA pass 4.5:1 | |
| Primary on background | 6.74:1 | AA pass 3:1 | |
| Accent on background | 14.09: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 | #D68910 (Text 1) | #E67E22 (Text 2) | #F39C12 (Text 3) | #F7DC6F (Text 4) | #FCF3CF (Text 5) |
|---|---|---|---|---|---|
| #D68910 | Same color | 1.01— | 1.29— | 2.07— | 2.53— |
| #E67E22 | 1.01— | Same color | 1.30— | 2.09— | 2.56— |
| #F39C12 | 1.29— | 1.30— | Same color | 1.61— | 1.97— |
| #F7DC6F | 2.07— | 2.09— | 1.61— | Same color | 1.22— |
| #FCF3CF | 2.53— | 2.56— | 1.97— | 1.22— | Same color |
Shades
Shades and tints (50–950)
