PreviewingGo to this paletteOpen in generator
Code
/* Rainforest Mist — colorset.net */
:root {
--color-1: #013220;
--color-2: #00563B;
--color-3: #046A38;
--color-4: #50C878;
--color-5: #7FFFD4;
--color-bg: #EBFBF4;
--color-surface: #E1F2EB;
--color-border: #C6DAD2;
--color-text: #013220;
--color-muted: #557163;
--color-primary: #008742;
--color-on-primary: #FFFFFF;
--color-accent: #00563B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05130C;
--color-surface: #0F1D16;
--color-border: #203329;
--color-text: #C3EEDD;
--color-muted: #6A897D;
--color-primary: #50C878;
--color-on-primary: #05130C;
--color-accent: #45715C;
--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 | adjusted for contrast · from #7FFFD4 | adjusted for contrast · from #013220 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #7FFFD4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #046A38 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #046A38 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.28:1 | AAA pass 4.5:1 | |
| Text on surface | 12.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 8.77:1 | AAA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 8.20:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.02:1 | AAA pass 4.5:1 | |
| Text on surface | 13.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 8.94:1 | AAA pass 4.5:1 | |
| Label on accent | 5.57:1 | AA pass 4.5:1 | |
| Primary on background | 8.94:1 | AAA 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 | #013220 (Text 1) | #00563B (Text 2) | #046A38 (Text 3) | #50C878 (Text 4) | #7FFFD4 (Text 5) |
|---|---|---|---|---|---|
| #013220 | Same color | 1.62— | 2.11— | 6.68AA | 11.61AAA |
| #00563B | 1.62— | Same color | 1.30— | 4.12AA Large | 7.17AAA |
| #046A38 | 2.11— | 1.30— | Same color | 3.16AA Large | 5.49AA |
| #50C878 | 6.68AA | 4.12AA Large | 3.16AA Large | Same color | 1.74— |
| #7FFFD4 | 11.61AAA | 7.17AAA | 5.49AA | 1.74— | Same color |
Shades
Shades and tints (50–950)
