PreviewingGo to this paletteOpen in generator
Code
/* Forest Floor Night — colorset.net */
:root {
--color-1: #040B05;
--color-2: #091A0D;
--color-3: #16301A;
--color-4: #608749;
--color-5: #D7D2B5;
--color-bg: #F9F7EE;
--color-surface: #EFEEE5;
--color-border: #D7D5C9;
--color-text: #040B05;
--color-muted: #59645A;
--color-primary: #5A8143;
--color-on-primary: #FFFFFF;
--color-accent: #091A0D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #040B05;
--color-surface: #0C150D;
--color-border: #1D2A1F;
--color-text: #D7D2B5;
--color-muted: #858065;
--color-primary: #5A8143;
--color-on-primary: #FFFFFF;
--color-accent: #5B665C;
--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 #D7D2B5 | 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 #608749 | adjusted for contrast · from #608749 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #608749 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.54:1 | AAA pass 4.5:1 | |
| Text on surface | 17.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.76:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 18.02:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 16.79:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.05:1 | AAA pass 4.5:1 | |
| Text on surface | 12.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.41:1 | AA Large pass 3:1 | |
| Accent on background | 3.32: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 | #040B05 (Text 1) | #091A0D (Text 2) | #16301A (Text 3) | #608749 (Text 4) | #D7D2B5 (Text 5) |
|---|---|---|---|---|---|
| #040B05 | Same color | 1.10— | 1.39— | 4.79AA | 13.05AAA |
| #091A0D | 1.10— | Same color | 1.26— | 4.34AA Large | 11.82AAA |
| #16301A | 1.39— | 1.26— | Same color | 3.44AA Large | 9.36AAA |
| #608749 | 4.79AA | 4.34AA Large | 3.44AA Large | Same color | 2.72— |
| #D7D2B5 | 13.05AAA | 11.82AAA | 9.36AAA | 2.72— | Same color |
Shades
Shades and tints (50–950)
