PreviewingGo to this paletteOpen in generator
Code
/* Melon Orange — colorset.net */
:root {
--color-1: #FDBCB4;
--color-2: #FECAB4;
--color-3: #FFD8B4;
--color-4: #FFE6B4;
--color-5: #FFF4B4;
--color-bg: #FAF7E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #753F39;
--color-muted: #826360;
--color-primary: #B47871;
--color-on-primary: #000000;
--color-accent: #807639;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A08;
--color-surface: #261412;
--color-border: #3E2724;
--color-text: #FAF3CD;
--color-muted: #8E8A6E;
--color-primary: #FDBCB4;
--color-on-primary: #1B0A08;
--color-accent: #FFD8B4;
--color-on-accent: #1B0A08;
}
}
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 #FFF4B4 | adjusted for contrast · from #FDBCB4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FDBCB4 | adjusted for contrast · from #FFF4B4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FDBCB4 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FDBCB4 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 4.60:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 4.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.16:1 | AAA pass 4.5:1 | |
| Text on surface | 15.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 11.91:1 | AAA pass 4.5:1 | |
| Label on accent | 14.39:1 | AAA pass 4.5:1 | |
| Primary on background | 11.91:1 | AAA pass 3:1 | |
| Accent on background | 14.39: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 | #FDBCB4 (Text 1) | #FECAB4 (Text 2) | #FFD8B4 (Text 3) | #FFE6B4 (Text 4) | #FFF4B4 (Text 5) |
|---|---|---|---|---|---|
| #FDBCB4 | Same color | 1.10— | 1.21— | 1.32— | 1.45— |
| #FECAB4 | 1.10— | Same color | 1.10— | 1.20— | 1.32— |
| #FFD8B4 | 1.21— | 1.10— | Same color | 1.10— | 1.20— |
| #FFE6B4 | 1.32— | 1.20— | 1.10— | Same color | 1.09— |
| #FFF4B4 | 1.45— | 1.32— | 1.20— | 1.09— | Same color |
Shades
Shades and tints (50–950)
