PreviewingGo to this paletteOpen in generator
Code
/* Sage Soft — colorset.net */
:root {
--color-1: #9CAF88;
--color-2: #AABF9A;
--color-3: #B8CFAC;
--color-4: #C6DFBE;
--color-5: #D4EFD0;
--color-bg: #F1FAF0;
--color-surface: #E8F0E7;
--color-border: #CED8CC;
--color-text: #435330;
--color-muted: #626E56;
--color-primary: #7B8D67;
--color-on-primary: #000000;
--color-accent: #4C5A3C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1107;
--color-surface: #161C10;
--color-border: #293121;
--color-text: #D4EFD0;
--color-muted: #758973;
--color-primary: #9CAF88;
--color-on-primary: #0C1107;
--color-accent: #B8CFAC;
--color-on-accent: #0C1107;
}
}
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 #D4EFD0 | adjusted for contrast · from #9CAF88 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9CAF88 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9CAF88 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9CAF88 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 7.41:1 | AAA pass 4.5:1 | |
| Primary on background | 3.36:1 | AA Large pass 3:1 | |
| Accent on background | 6.94:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.52:1 | AAA pass 4.5:1 | |
| Text on surface | 14.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 8.10:1 | AAA pass 4.5:1 | |
| Label on accent | 11.43:1 | AAA pass 4.5:1 | |
| Primary on background | 8.10:1 | AAA pass 3:1 | |
| Accent on background | 11.43: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 | #9CAF88 (Text 1) | #AABF9A (Text 2) | #B8CFAC (Text 3) | #C6DFBE (Text 4) | #D4EFD0 (Text 5) |
|---|---|---|---|---|---|
| #9CAF88 | Same color | 1.19— | 1.41— | 1.65— | 1.92— |
| #AABF9A | 1.19— | Same color | 1.18— | 1.38— | 1.60— |
| #B8CFAC | 1.41— | 1.18— | Same color | 1.17— | 1.36— |
| #C6DFBE | 1.65— | 1.38— | 1.17— | Same color | 1.16— |
| #D4EFD0 | 1.92— | 1.60— | 1.36— | 1.16— | Same color |
Shades
Shades and tints (50–950)
