PreviewingGo to this paletteOpen in generator
Code
/* Parchment Khaki — colorset.net */
:root {
--color-1: #FFFFF0;
--color-2: #FAEBD7;
--color-3: #F5F5DC;
--color-4: #F0E68C;
--color-5: #DEB887;
--color-bg: #FFFFF0;
--color-surface: #F6F6E7;
--color-border: #DDDDCB;
--color-text: #6E4C1C;
--color-muted: #7F6D57;
--color-primary: #9A9034;
--color-on-primary: #000000;
--color-accent: #8F8F81;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170D02;
--color-surface: #221708;
--color-border: #392B19;
--color-text: #FFFFF0;
--color-muted: #909082;
--color-primary: #F0E68C;
--color-on-primary: #170D02;
--color-accent: #DEB887;
--color-on-accent: #170D02;
}
}
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 | adjusted for contrast · from #DEB887 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DEB887 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DEB887 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DEB887 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 6.41:1 | AA pass 4.5:1 | |
| Label on accent | 6.41:1 | AA pass 4.5:1 | |
| Primary on background | 3.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.01:1 | AAA pass 4.5:1 | |
| Text on surface | 17.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.93:1 | AA pass 4.5:1 | |
| Label on primary | 14.98:1 | AAA pass 4.5:1 | |
| Label on accent | 10.33:1 | AAA pass 4.5:1 | |
| Primary on background | 14.98:1 | AAA pass 3:1 | |
| Accent on background | 10.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 | #FFFFF0 (Text 1) | #FAEBD7 (Text 2) | #F5F5DC (Text 3) | #F0E68C (Text 4) | #DEB887 (Text 5) |
|---|---|---|---|---|---|
| #FFFFF0 | Same color | 1.16— | 1.10— | 1.27— | 1.84— |
| #FAEBD7 | 1.16— | Same color | 1.06— | 1.09— | 1.58— |
| #F5F5DC | 1.10— | 1.06— | Same color | 1.16— | 1.68— |
| #F0E68C | 1.27— | 1.09— | 1.16— | Same color | 1.45— |
| #DEB887 | 1.84— | 1.58— | 1.68— | 1.45— | Same color |
Shades
Shades and tints (50–950)
