PreviewingGo to this paletteOpen in generator
Code
/* Rain Grid — colorset.net */
:root {
--color-1: #0A1418;
--color-2: #00E5D4;
--color-3: #FF8A00;
--color-4: #1B2F35;
--color-5: #DFF7F5;
--color-bg: #DFF7F5;
--color-surface: #EEFCFB;
--color-border: #C3DFDD;
--color-text: #0A1418;
--color-muted: #5C686D;
--color-primary: #D37100;
--color-on-primary: #0A1418;
--color-accent: #009B8F;
--color-on-accent: #0A1418;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1418;
--color-surface: #141E23;
--color-border: #25343A;
--color-text: #DFF7F5;
--color-muted: #798F8D;
--color-primary: #FF8A00;
--color-on-primary: #0A1418;
--color-accent: #00E5D4;
--color-on-accent: #0A1418;
}
}
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 #FF8A00 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00E5D4 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.66:1 | AAA pass 4.5:1 | |
| Text on surface | 17.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 5.44:1 | AA pass 4.5:1 | |
| Label on accent | 5.40:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.66:1 | AAA pass 4.5:1 | |
| Text on surface | 15.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.44:1 | AA pass 4.5:1 | |
| Label on primary | 7.89:1 | AAA pass 4.5:1 | |
| Label on accent | 11.68:1 | AAA pass 4.5:1 | |
| Primary on background | 7.89:1 | AAA pass 3:1 | |
| Accent on background | 11.68: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 | #0A1418 (Text 1) | #00E5D4 (Text 2) | #FF8A00 (Text 3) | #1B2F35 (Text 4) | #DFF7F5 (Text 5) |
|---|---|---|---|---|---|
| #0A1418 | Same color | 11.68AAA | 7.89AAA | 1.34— | 16.66AAA |
| #00E5D4 | 11.68AAA | Same color | 1.48— | 8.75AAA | 1.43— |
| #FF8A00 | 7.89AAA | 1.48— | Same color | 5.91AA | 2.11— |
| #1B2F35 | 1.34— | 8.75AAA | 5.91AA | Same color | 12.47AAA |
| #DFF7F5 | 16.66AAA | 1.43— | 2.11— | 12.47AAA | Same color |
Shades
Shades and tints (50–950)
