PreviewingGo to this paletteOpen in generator
Code
/* Toxic Slime — colorset.net */
:root {
--color-1: #061005;
--color-2: #87F91F;
--color-3: #AFCE00;
--color-4: #9A4CF6;
--color-5: #E8F3DE;
--color-bg: #E8F3DE;
--color-surface: #F2F9EC;
--color-border: #CEDBC3;
--color-text: #061005;
--color-muted: #586556;
--color-primary: #9748F2;
--color-on-primary: #FFFFFF;
--color-accent: #509C00;
--color-on-accent: #061005;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061005;
--color-surface: #0F1A0E;
--color-border: #212F1F;
--color-text: #E8F3DE;
--color-muted: #808976;
--color-primary: #9748F2;
--color-on-primary: #FFFFFF;
--color-accent: #87F91F;
--color-on-accent: #061005;
}
}
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 #9A4CF6 | adjusted for contrast · from #9A4CF6 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AFCE00 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.89:1 | AAA pass 4.5:1 | |
| Text on surface | 18.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.05:1 | AA Large pass 3:1 | |
| Accent on background | 3.00:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.89:1 | AAA pass 4.5:1 | |
| Text on surface | 15.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 14.39:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large 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 | #061005 (Text 1) | #87F91F (Text 2) | #AFCE00 (Text 3) | #9A4CF6 (Text 4) | #E8F3DE (Text 5) |
|---|---|---|---|---|---|
| #061005 | Same color | 14.39AAA | 10.75AAA | 4.37AA Large | 16.89AAA |
| #87F91F | 14.39AAA | Same color | 1.34— | 3.29AA Large | 1.17— |
| #AFCE00 | 10.75AAA | 1.34— | Same color | 2.46— | 1.57— |
| #9A4CF6 | 4.37AA Large | 3.29AA Large | 2.46— | Same color | 3.86AA Large |
| #E8F3DE | 16.89AAA | 1.17— | 1.57— | 3.86AA Large | Same color |
Shades
Shades and tints (50–950)
