PreviewingGo to this paletteOpen in generator
Code
/* Shaded Forest — colorset.net */
:root {
--color-1: #0A2F1F;
--color-2: #1C4733;
--color-3: #2D5F47;
--color-4: #3E775B;
--color-5: #4F8F6F;
--color-bg: #ECFBF2;
--color-surface: #E3F2E9;
--color-border: #C7DACF;
--color-text: #0A2F1F;
--color-muted: #547061;
--color-primary: #408061;
--color-on-primary: #FFFFFF;
--color-accent: #1C4733;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #07120C;
--color-surface: #111C16;
--color-border: #22322A;
--color-text: #89AE9A;
--color-muted: #6E8A7B;
--color-primary: #408061;
--color-on-primary: #FFFFFF;
--color-accent: #7CB296;
--color-on-accent: #07120C;
}
}
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 #4F8F6F | adjusted for contrast · from #0A2F1F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #4F8F6F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #3E775B | adjusted for contrast · from #3E775B |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #4F8F6F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.65:1 | AAA pass 4.5:1 | |
| Text on surface | 12.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 10.51:1 | AAA pass 4.5:1 | |
| Primary on background | 4.39:1 | AA Large pass 3:1 | |
| Accent on background | 9.83:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 7.87:1 | AAA pass 4.5:1 | |
| Primary on background | 4.07:1 | AA Large pass 3:1 | |
| Accent on background | 7.87: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 | #0A2F1F (Text 1) | #1C4733 (Text 2) | #2D5F47 (Text 3) | #3E775B (Text 4) | #4F8F6F (Text 5) |
|---|---|---|---|---|---|
| #0A2F1F | Same color | 1.39— | 1.97— | 2.78— | 3.82AA Large |
| #1C4733 | 1.39— | Same color | 1.42— | 2.00— | 2.75— |
| #2D5F47 | 1.97— | 1.42— | Same color | 1.41— | 1.93— |
| #3E775B | 2.78— | 2.00— | 1.41— | Same color | 1.37— |
| #4F8F6F | 3.82AA Large | 2.75— | 1.93— | 1.37— | Same color |
Shades
Shades and tints (50–950)
