PreviewingGo to this paletteOpen in generator
Code
/* Melon Soft — colorset.net */
:root {
--color-1: #FFD6C9;
--color-2: #FFE0D4;
--color-3: #FFE9DF;
--color-4: #FFF0E5;
--color-5: #FFF8F0;
--color-bg: #FFF8F0;
--color-surface: #F6EFE7;
--color-border: #DFD6CB;
--color-text: #6A483E;
--color-muted: #83665D;
--color-primary: #A78276;
--color-on-primary: #000000;
--color-accent: #705349;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170C09;
--color-surface: #221613;
--color-border: #392A25;
--color-text: #FFF8F0;
--color-muted: #928B84;
--color-primary: #FFD6C9;
--color-on-primary: #170C09;
--color-accent: #C3A297;
--color-on-accent: #170C09;
}
}
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 #FFD6C9 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFD6C9 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFD6C9 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFD6C9 | adjusted for contrast · from #FFD6C9 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 6.95:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 6.60:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.24:1 | AAA pass 4.5:1 | |
| Text on surface | 16.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.72:1 | AA pass 4.5:1 | |
| Label on primary | 14.38:1 | AAA pass 4.5:1 | |
| Label on accent | 8.18:1 | AAA pass 4.5:1 | |
| Primary on background | 14.38:1 | AAA pass 3:1 | |
| Accent on background | 8.18: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 | #FFD6C9 (Text 1) | #FFE0D4 (Text 2) | #FFE9DF (Text 3) | #FFF0E5 (Text 4) | #FFF8F0 (Text 5) |
|---|---|---|---|---|---|
| #FFD6C9 | Same color | 1.07— | 1.14— | 1.20— | 1.27— |
| #FFE0D4 | 1.07— | Same color | 1.07— | 1.12— | 1.18— |
| #FFE9DF | 1.14— | 1.07— | Same color | 1.05— | 1.11— |
| #FFF0E5 | 1.20— | 1.12— | 1.05— | Same color | 1.06— |
| #FFF8F0 | 1.27— | 1.18— | 1.11— | 1.06— | Same color |
Shades
Shades and tints (50–950)
