PreviewingGo to this paletteOpen in generator
Code
/* Forest Campus — colorset.net */
:root {
--color-1: #071E10;
--color-2: #68CA80;
--color-3: #E6BD77;
--color-4: #264C34;
--color-5: #EBF1E6;
--color-bg: #EBF1E6;
--color-surface: #F4F7F1;
--color-border: #D1D9CB;
--color-text: #071E10;
--color-muted: #58715F;
--color-primary: #1C8842;
--color-on-primary: #FFFFFF;
--color-accent: #967028;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071E10;
--color-surface: #12291A;
--color-border: #273F2F;
--color-text: #EBF1E6;
--color-muted: #898E84;
--color-primary: #68CA80;
--color-on-primary: #071E10;
--color-accent: #E6BD77;
--color-on-accent: #071E10;
}
}
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 #264C34 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #264C34 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.19:1 | AAA pass 4.5:1 | |
| Text on surface | 16.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.93:1 | AA Large pass 3:1 | |
| Accent on background | 3.93:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.19:1 | AAA pass 4.5:1 | |
| Text on surface | 13.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 8.61:1 | AAA pass 4.5:1 | |
| Label on accent | 9.91:1 | AAA pass 4.5:1 | |
| Primary on background | 8.61:1 | AAA pass 3:1 | |
| Accent on background | 9.91: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 | #071E10 (Text 1) | #68CA80 (Text 2) | #E6BD77 (Text 3) | #264C34 (Text 4) | #EBF1E6 (Text 5) |
|---|---|---|---|---|---|
| #071E10 | Same color | 8.61AAA | 9.91AAA | 1.80— | 15.19AAA |
| #68CA80 | 8.61AAA | Same color | 1.15— | 4.78AA | 1.76— |
| #E6BD77 | 9.91AAA | 1.15— | Same color | 5.50AA | 1.53— |
| #264C34 | 1.80— | 4.78AA | 5.50AA | Same color | 8.43AAA |
| #EBF1E6 | 15.19AAA | 1.76— | 1.53— | 8.43AAA | Same color |
Shades
Shades and tints (50–950)
