PreviewingGo to this paletteOpen in generator
Code
/* April Shower — colorset.net */
:root {
--color-1: #1A2230;
--color-2: #8EC5E8;
--color-3: #F7D070;
--color-4: #303B50;
--color-5: #EEF3F8;
--color-bg: #EEF3F8;
--color-surface: #F7FAFD;
--color-border: #D3DBE2;
--color-text: #1A2230;
--color-muted: #656F80;
--color-primary: #AC871C;
--color-on-primary: #1A2230;
--color-accent: #5A90B1;
--color-on-accent: #1A2230;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A2230;
--color-surface: #252D3C;
--color-border: #394355;
--color-text: #EEF3F8;
--color-muted: #8F9498;
--color-primary: #F7D070;
--color-on-primary: #1A2230;
--color-accent: #8EC5E8;
--color-on-accent: #1A2230;
}
}
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 #F7D070 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8EC5E8 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.30:1 | AAA pass 4.5:1 | |
| Text on surface | 15.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 4.74:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.30:1 | AAA pass 4.5:1 | |
| Text on surface | 12.38:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 10.80:1 | AAA pass 4.5:1 | |
| Label on accent | 8.59:1 | AAA pass 4.5:1 | |
| Primary on background | 10.80:1 | AAA pass 3:1 | |
| Accent on background | 8.59: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 | #1A2230 (Text 1) | #8EC5E8 (Text 2) | #F7D070 (Text 3) | #303B50 (Text 4) | #EEF3F8 (Text 5) |
|---|---|---|---|---|---|
| #1A2230 | Same color | 8.59AAA | 10.80AAA | 1.42— | 14.30AAA |
| #8EC5E8 | 8.59AAA | Same color | 1.26— | 6.05AA | 1.66— |
| #F7D070 | 10.80AAA | 1.26— | Same color | 7.61AAA | 1.32— |
| #303B50 | 1.42— | 6.05AA | 7.61AAA | Same color | 10.08AAA |
| #EEF3F8 | 14.30AAA | 1.66— | 1.32— | 10.08AAA | Same color |
Shades
Shades and tints (50–950)
