PreviewingGo to this paletteOpen in generator
Code
/* Rainforest Green — colorset.net */
:root {
--color-1: #003300;
--color-2: #004D00;
--color-3: #006600;
--color-4: #008000;
--color-5: #009900;
--color-bg: #EFFBEE;
--color-surface: #E6F1E5;
--color-border: #CCD9CA;
--color-text: #033303;
--color-muted: #5C6F5A;
--color-primary: #008800;
--color-on-primary: #FFFFFF;
--color-accent: #004D00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #101E0E;
--color-border: #223320;
--color-text: #94AE91;
--color-muted: #768A74;
--color-primary: #008800;
--color-on-primary: #FFFFFF;
--color-accent: #437340;
--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 #009900 | adjusted for contrast · from #003300 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #003300 | adjusted for contrast · from #009900 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #008000 | adjusted for contrast · from #008000 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #008000 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.32:1 | AAA pass 4.5:1 | |
| Text on surface | 12.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 10.19:1 | AAA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 9.56:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.58:1 | AA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large 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 | #003300 (Text 1) | #004D00 (Text 2) | #006600 (Text 3) | #008000 (Text 4) | #009900 (Text 5) |
|---|---|---|---|---|---|
| #003300 | Same color | 1.40— | 1.97— | 2.77— | 3.77AA Large |
| #004D00 | 1.40— | Same color | 1.41— | 1.98— | 2.70— |
| #006600 | 1.97— | 1.41— | Same color | 1.41— | 1.92— |
| #008000 | 2.77— | 1.98— | 1.41— | Same color | 1.36— |
| #009900 | 3.77AA Large | 2.70— | 1.92— | 1.36— | Same color |
Shades
Shades and tints (50–950)
