PreviewingGo to this paletteOpen in generator
Code
/* Sage Linen — colorset.net */
:root {
--color-1: #B2C9AB;
--color-2: #C4D7BD;
--color-3: #D6E5CF;
--color-4: #E8F3E1;
--color-5: #FAFFF6;
--color-bg: #FAFFF6;
--color-surface: #F1F6ED;
--color-border: #D7DED1;
--color-text: #43563C;
--color-muted: #62745D;
--color-primary: #7B9174;
--color-on-primary: #000000;
--color-accent: #4D5E47;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1109;
--color-surface: #151C13;
--color-border: #283125;
--color-text: #FAFFF6;
--color-muted: #8C9088;
--color-primary: #B2C9AB;
--color-on-primary: #0B1109;
--color-accent: #D6E5CF;
--color-on-accent: #0B1109;
}
}
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 5 | adjusted for contrast · from #B2C9AB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B2C9AB | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B2C9AB | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B2C9AB | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.14:1 | AA pass 4.5:1 | |
| Label on accent | 6.98:1 | AA pass 4.5:1 | |
| Primary on background | 3.37:1 | AA Large pass 3:1 | |
| Accent on background | 6.88:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.85:1 | AAA pass 4.5:1 | |
| Text on surface | 17.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.88:1 | AA pass 4.5:1 | |
| Label on primary | 10.78:1 | AAA pass 4.5:1 | |
| Label on accent | 14.54:1 | AAA pass 4.5:1 | |
| Primary on background | 10.78:1 | AAA pass 3:1 | |
| Accent on background | 14.54: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 | #B2C9AB (Text 1) | #C4D7BD (Text 2) | #D6E5CF (Text 3) | #E8F3E1 (Text 4) | #FAFFF6 (Text 5) |
|---|---|---|---|---|---|
| #B2C9AB | Same color | 1.17— | 1.35— | 1.55— | 1.75— |
| #C4D7BD | 1.17— | Same color | 1.16— | 1.33— | 1.50— |
| #D6E5CF | 1.35— | 1.16— | Same color | 1.15— | 1.30— |
| #E8F3E1 | 1.55— | 1.33— | 1.15— | Same color | 1.13— |
| #FAFFF6 | 1.75— | 1.50— | 1.30— | 1.13— | Same color |
Shades
Shades and tints (50–950)
