PreviewingGo to this paletteOpen in generator
Code
/* Paper Margin — colorset.net */
:root {
--color-1: #FAF9F6;
--color-2: #2F6F62;
--color-3: #E0A458;
--color-4: #8C8A85;
--color-5: #232323;
--color-bg: #FAF9F6;
--color-surface: #F1F0ED;
--color-border: #D9D7D1;
--color-text: #232323;
--color-muted: #6C6C6C;
--color-primary: #B97F30;
--color-on-primary: #232323;
--color-accent: #2F6F62;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #232323;
--color-surface: #2E2E2E;
--color-border: #464344;
--color-text: #FAF9F6;
--color-muted: #989795;
--color-primary: #E0A458;
--color-on-primary: #232323;
--color-accent: #458476;
--color-on-accent: #000000;
}
}
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 #8C8A85 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #2F6F62 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.93:1 | AAA pass 4.5:1 | |
| Text on surface | 13.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.88:1 | AA pass 4.5:1 | |
| Primary on background | 3.25:1 | AA Large pass 3:1 | |
| Accent on background | 5.59:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.93:1 | AAA pass 4.5:1 | |
| Text on surface | 12.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.39:1 | AA pass 4.5:1 | |
| Label on primary | 7.20:1 | AAA pass 4.5:1 | |
| Label on accent | 4.82:1 | AA pass 4.5:1 | |
| Primary on background | 7.20:1 | AAA pass 3:1 | |
| Accent on background | 3.60: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 | #FAF9F6 (Text 1) | #2F6F62 (Text 2) | #E0A458 (Text 3) | #8C8A85 (Text 4) | #232323 (Text 5) |
|---|---|---|---|---|---|
| #FAF9F6 | Same color | 5.59AA | 2.07— | 3.28AA Large | 14.93AAA |
| #2F6F62 | 5.59AA | Same color | 2.69— | 1.71— | 2.67— |
| #E0A458 | 2.07— | 2.69— | Same color | 1.58— | 7.20AAA |
| #8C8A85 | 3.28AA Large | 1.71— | 1.58— | Same color | 4.56AA |
| #232323 | 14.93AAA | 2.67— | 7.20AAA | 4.56AA | Same color |
Shades
Shades and tints (50–950)
