PreviewingGo to this paletteOpen in generator
Code
/* Malachite Desk — colorset.net */
:root {
--color-1: #0D1F1A;
--color-2: #1E8A6A;
--color-3: #C9A44C;
--color-4: #6A2C70;
--color-5: #EEF3EC;
--color-bg: #EEF3EC;
--color-surface: #F7FAF5;
--color-border: #D4DBD1;
--color-text: #0D1F1A;
--color-muted: #5D716B;
--color-primary: #138464;
--color-on-primary: #FFFFFF;
--color-accent: #6A2C70;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1F1A;
--color-surface: #182A25;
--color-border: #2A403A;
--color-text: #EEF3EC;
--color-muted: #8C908A;
--color-primary: #138464;
--color-on-primary: #FFFFFF;
--color-accent: #98579E;
--color-on-accent: #FFFFFF;
}
}
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 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1E8A6A | adjusted for contrast · from #1E8A6A |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #6A2C70 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.20:1 | AAA pass 4.5:1 | |
| Text on surface | 16.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 9.51:1 | AAA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 8.46:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.20:1 | AAA pass 4.5:1 | |
| Text on surface | 13.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.01:1 | AA pass 4.5:1 | |
| Primary on background | 3.67:1 | AA Large pass 3:1 | |
| Accent on background | 3.41: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 | #0D1F1A (Text 1) | #1E8A6A (Text 2) | #C9A44C (Text 3) | #6A2C70 (Text 4) | #EEF3EC (Text 5) |
|---|---|---|---|---|---|
| #0D1F1A | Same color | 3.99AA Large | 7.25AAA | 1.80— | 15.20AAA |
| #1E8A6A | 3.99AA Large | Same color | 1.82— | 2.22— | 3.81AA Large |
| #C9A44C | 7.25AAA | 1.82— | Same color | 4.03AA Large | 2.10— |
| #6A2C70 | 1.80— | 2.22— | 4.03AA Large | Same color | 8.46AAA |
| #EEF3EC | 15.20AAA | 3.81AA Large | 2.10— | 8.46AAA | Same color |
Shades
Shades and tints (50–950)
