PreviewingGo to this paletteOpen in generator
Code
/* Forest Floor — colorset.net */
:root {
--color-1: #445522;
--color-2: #556633;
--color-3: #667744;
--color-4: #778855;
--color-5: #889966;
--color-bg: #F4F9EB;
--color-surface: #EBF0E1;
--color-border: #D1D8C6;
--color-text: #445522;
--color-muted: #656F55;
--color-primary: #778855;
--color-on-primary: #000000;
--color-accent: #556633;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1203;
--color-surface: #161C0C;
--color-border: #2A311D;
--color-text: #9DA987;
--color-muted: #7D876C;
--color-primary: #778855;
--color-on-primary: #0C1203;
--color-accent: #5A6C38;
--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 #889966 | adjusted for contrast · from #445522 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #889966 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #556633 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.44:1 | AA pass 4.5:1 | |
| Label on accent | 6.30:1 | AA pass 4.5:1 | |
| Primary on background | 3.60:1 | AA Large pass 3:1 | |
| Accent on background | 5.88:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.93:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.93:1 | AA pass 3:1 | |
| Accent on background | 3.30: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 | #445522 (Text 1) | #556633 (Text 2) | #667744 (Text 3) | #778855 (Text 4) | #889966 (Text 5) |
|---|---|---|---|---|---|
| #445522 | Same color | 1.30— | 1.67— | 2.12— | 2.65— |
| #556633 | 1.30— | Same color | 1.29— | 1.63— | 2.04— |
| #667744 | 1.67— | 1.29— | Same color | 1.27— | 1.59— |
| #778855 | 2.12— | 1.63— | 1.27— | Same color | 1.25— |
| #889966 | 2.65— | 2.04— | 1.59— | 1.25— | Same color |
Shades
Shades and tints (50–950)
