PreviewingGo to this paletteOpen in generator
Code
/* Print Docs — colorset.net */
:root {
--color-1: #F9F8F5;
--color-2: #57554F;
--color-3: #598763;
--color-4: #BFBEB9;
--color-5: #211F1B;
--color-bg: #F9F8F5;
--color-surface: #F0EFEC;
--color-border: #D8D6D0;
--color-text: #211F1B;
--color-muted: #6E6C67;
--color-primary: #598763;
--color-on-primary: #000000;
--color-accent: #8A8986;
--color-on-accent: #211F1B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #211F1B;
--color-surface: #2C2A26;
--color-border: #433F38;
--color-text: #F9F8F5;
--color-muted: #969592;
--color-primary: #598763;
--color-on-primary: #000000;
--color-accent: #77746F;
--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 | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #598763 | adjusted for contrast · from #598763 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.49:1 | AAA pass 4.5:1 | |
| Text on surface | 14.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 5.07:1 | AA pass 4.5:1 | |
| Label on accent | 4.70:1 | AA pass 4.5:1 | |
| Primary on background | 3.90:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.49:1 | AAA pass 4.5:1 | |
| Text on surface | 13.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.49:1 | AA pass 4.5:1 | |
| Label on primary | 5.07:1 | AA pass 4.5:1 | |
| Label on accent | 4.65:1 | AA pass 4.5:1 | |
| Primary on background | 3.97:1 | AA Large pass 3:1 | |
| Accent on background | 3.53: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 | #F9F8F5 (Text 1) | #57554F (Text 2) | #598763 (Text 3) | #BFBEB9 (Text 4) | #211F1B (Text 5) |
|---|---|---|---|---|---|
| #F9F8F5 | Same color | 7.02AAA | 3.90AA Large | 1.75— | 15.49AAA |
| #57554F | 7.02AAA | Same color | 1.80— | 4.00AA Large | 2.21— |
| #598763 | 3.90AA Large | 1.80— | Same color | 2.22— | 3.97AA Large |
| #BFBEB9 | 1.75— | 4.00AA Large | 2.22— | Same color | 8.84AAA |
| #211F1B | 15.49AAA | 2.21— | 3.97AA Large | 8.84AAA | Same color |
Shades
Shades and tints (50–950)
