PreviewingGo to this paletteOpen in generator
Code
/* Strategy Green — colorset.net */
:root {
--color-1: #F4F5F1;
--color-2: #1E5945;
--color-3: #D4A24C;
--color-4: #CBD5CC;
--color-5: #18201C;
--color-bg: #F4F5F1;
--color-surface: #FCFCFA;
--color-border: #DBDDD5;
--color-text: #18201C;
--color-muted: #68726D;
--color-primary: #B48328;
--color-on-primary: #18201C;
--color-accent: #1E5945;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #18201C;
--color-surface: #232B27;
--color-border: #35413B;
--color-text: #F4F5F1;
--color-muted: #92938F;
--color-primary: #D4A24C;
--color-on-primary: #18201C;
--color-accent: #467F69;
--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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D4A24C | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #1E5945 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.19:1 | AAA pass 4.5:1 | |
| Text on surface | 16.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 4.93:1 | AA pass 4.5:1 | |
| Label on accent | 8.17:1 | AAA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 7.46:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.19:1 | AAA pass 4.5:1 | |
| Text on surface | 13.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 7.19:1 | AAA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 7.19:1 | AAA pass 3:1 | |
| Accent on background | 3.57: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 | #F4F5F1 (Text 1) | #1E5945 (Text 2) | #D4A24C (Text 3) | #CBD5CC (Text 4) | #18201C (Text 5) |
|---|---|---|---|---|---|
| #F4F5F1 | Same color | 7.46AAA | 2.11— | 1.38— | 15.19AAA |
| #1E5945 | 7.46AAA | Same color | 3.53AA Large | 5.42AA | 2.04— |
| #D4A24C | 2.11— | 3.53AA Large | Same color | 1.54— | 7.19AAA |
| #CBD5CC | 1.38— | 5.42AA | 1.54— | Same color | 11.04AAA |
| #18201C | 15.19AAA | 2.04— | 7.19AAA | 11.04AAA | Same color |
Shades
Shades and tints (50–950)
