PreviewingGo to this paletteOpen in generator
Code
/* Slate Green — colorset.net */
:root {
--color-1: #708238;
--color-2: #849647;
--color-3: #98AA56;
--color-4: #ACBE65;
--color-5: #5C6E2C;
--color-bg: #F5F9EA;
--color-surface: #ECF0E1;
--color-border: #D3D7C5;
--color-text: #445413;
--color-muted: #656E54;
--color-primary: #6A7C32;
--color-on-primary: #FFFFFF;
--color-accent: #80913D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1202;
--color-surface: #171C09;
--color-border: #2A311A;
--color-text: #B0B995;
--color-muted: #7F866B;
--color-primary: #6A7C32;
--color-on-primary: #FFFFFF;
--color-accent: #ACBE65;
--color-on-accent: #0D1202;
}
}
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 #ACBE65 | adjusted for contrast · from #5C6E2C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5C6E2C | adjusted for contrast · from #ACBE65 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #708238 | adjusted for contrast · from #708238 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #849647 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 6.04:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.25:1 | AAA pass 4.5:1 | |
| Text on surface | 8.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 9.33:1 | AAA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 9.33: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 | #708238 (Text 1) | #849647 (Text 2) | #98AA56 (Text 3) | #ACBE65 (Text 4) | #5C6E2C (Text 5) |
|---|---|---|---|---|---|
| #708238 | Same color | 1.30— | 1.66— | 2.09— | 1.33— |
| #849647 | 1.30— | Same color | 1.28— | 1.60— | 1.73— |
| #98AA56 | 1.66— | 1.28— | Same color | 1.25— | 2.21— |
| #ACBE65 | 2.09— | 1.60— | 1.25— | Same color | 2.77— |
| #5C6E2C | 1.33— | 1.73— | 2.21— | 2.77— | Same color |
Shades
Shades and tints (50–950)
