PreviewingGo to this paletteOpen in generator
Code
/* Sidewalk Chalk — colorset.net */
:root {
--color-1: #80FF80;
--color-2: #FF8080;
--color-3: #8080FF;
--color-4: #FF80FF;
--color-5: #80FFFF;
--color-bg: #E8FBFB;
--color-surface: #DFF2F2;
--color-border: #C3DADA;
--color-text: #474980;
--color-muted: #676A83;
--color-primary: #6A67E3;
--color-on-primary: #FFFFFF;
--color-accent: #008A16;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0D1E;
--color-surface: #161729;
--color-border: #2A2C42;
--color-text: #C1F2F2;
--color-muted: #678B8B;
--color-primary: #8080FF;
--color-on-primary: #0D0D1E;
--color-accent: #80FF80;
--color-on-accent: #0D0D1E;
}
}
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 #80FFFF | adjusted for contrast · from #8080FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8080FF | adjusted for contrast · from #80FFFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8080FF | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #80FF80 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.78:1 | AAA pass 4.5:1 | |
| Text on surface | 14.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.16:1 | AA pass 4.5:1 | |
| Label on primary | 5.90:1 | AA pass 4.5:1 | |
| Label on accent | 15.12:1 | AAA pass 4.5:1 | |
| Primary on background | 5.90:1 | AA pass 3:1 | |
| Accent on background | 15.12: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 | #80FF80 (Text 1) | #FF8080 (Text 2) | #8080FF (Text 3) | #FF80FF (Text 4) | #80FFFF (Text 5) |
|---|---|---|---|---|---|
| #80FF80 | Same color | 1.91— | 2.56— | 1.69— | 1.07— |
| #FF8080 | 1.91— | Same color | 1.34— | 1.13— | 2.04— |
| #8080FF | 2.56— | 1.34— | Same color | 1.52— | 2.74— |
| #FF80FF | 1.69— | 1.13— | 1.52— | Same color | 1.81— |
| #80FFFF | 1.07— | 2.04— | 2.74— | 1.81— | Same color |
Shades
Shades and tints (50–950)
