PreviewingGo to this paletteOpen in generator
Code
/* Mossy Forest Floor — colorset.net */
:root {
--color-1: #1A330F;
--color-2: #2D4D1A;
--color-3: #406626;
--color-4: #538033;
--color-5: #66993F;
--color-bg: #F1FAEC;
--color-surface: #E8F1E3;
--color-border: #CED9C8;
--color-text: #1A330F;
--color-muted: #60715A;
--color-primary: #63963C;
--color-on-primary: #000000;
--color-accent: #2D4D1A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1207;
--color-surface: #131C10;
--color-border: #263222;
--color-text: #97AB8B;
--color-muted: #798870;
--color-primary: #66993F;
--color-on-primary: #0A1207;
--color-accent: #516D46;
--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 #66993F | adjusted for contrast · from #1A330F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #66993F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #66993F | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #406626 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.87:1 | AAA pass 4.5:1 | |
| Text on surface | 11.89:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 9.60:1 | AAA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 8.97:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 5.62:1 | AA pass 3:1 | |
| Accent on background | 3.29: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 | #1A330F (Text 1) | #2D4D1A (Text 2) | #406626 (Text 3) | #538033 (Text 4) | #66993F (Text 5) |
|---|---|---|---|---|---|
| #1A330F | Same color | 1.44— | 2.06— | 2.95— | 4.06AA Large |
| #2D4D1A | 1.44— | Same color | 1.44— | 2.06— | 2.83— |
| #406626 | 2.06— | 1.44— | Same color | 1.43— | 1.97— |
| #538033 | 2.95— | 2.06— | 1.43— | Same color | 1.38— |
| #66993F | 4.06AA Large | 2.83— | 1.97— | 1.38— | Same color |
Shades
Shades and tints (50–950)
