PreviewingGo to this paletteOpen in generator
Code
/* Mango Lassi — colorset.net */
:root {
--color-1: #FFF7E6;
--color-2: #F5A623;
--color-3: #D0436E;
--color-4: #FFE3B0;
--color-5: #2E2219;
--color-bg: #FFF7E6;
--color-surface: #F6EEDD;
--color-border: #DED5C1;
--color-text: #2E2219;
--color-muted: #786A5F;
--color-primary: #CC406B;
--color-on-primary: #FFFFFF;
--color-accent: #A36B00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130E0B;
--color-surface: #1D1815;
--color-border: #342C27;
--color-text: #FFF7E6;
--color-muted: #928B7C;
--color-primary: #CC406B;
--color-on-primary: #FFFFFF;
--color-accent: #F5A623;
--color-on-accent: #130E0B;
}
}
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 #2E2219 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D0436E | adjusted for contrast · from #D0436E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D0436E | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.49:1 | AAA pass 4.5:1 | |
| Text on surface | 13.39:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 4.23:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.98:1 | AAA pass 4.5:1 | |
| Text on surface | 16.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 9.46:1 | AAA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 9.46: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 | #FFF7E6 (Text 1) | #F5A623 (Text 2) | #D0436E (Text 3) | #FFE3B0 (Text 4) | #2E2219 (Text 5) |
|---|---|---|---|---|---|
| #FFF7E6 | Same color | 1.90— | 4.18AA Large | 1.17— | 14.49AAA |
| #F5A623 | 1.90— | Same color | 2.20— | 1.63— | 7.62AAA |
| #D0436E | 4.18AA Large | 2.20— | Same color | 3.58AA Large | 3.47AA Large |
| #FFE3B0 | 1.17— | 1.63— | 3.58AA Large | Same color | 12.41AAA |
| #2E2219 | 14.49AAA | 7.62AAA | 3.47AA Large | 12.41AAA | Same color |
Shades
Shades and tints (50–950)
