PreviewingGo to this paletteOpen in generator
Code
/* Old Photograph — colorset.net */
:root {
--color-1: #8B4513;
--color-2: #CD853F;
--color-3: #DEB887;
--color-4: #F5DEB3;
--color-5: #FFFACD;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #A96415;
--color-on-primary: #FFFFFF;
--color-accent: #8F8A61;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #CD853F;
--color-on-primary: #1B0A03;
--color-accent: #F5DEB3;
--color-on-accent: #1B0A03;
}
}
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 #FFFACD | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8B4513 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD853F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.17:1 | AAA pass 4.5:1 | |
| Text on surface | 16.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.71:1 | AA pass 4.5:1 | |
| Label on primary | 6.43:1 | AA pass 4.5:1 | |
| Label on accent | 14.64:1 | AAA pass 4.5:1 | |
| Primary on background | 6.43:1 | AA pass 3:1 | |
| Accent on background | 14.64: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 | #8B4513 (Text 1) | #CD853F (Text 2) | #DEB887 (Text 3) | #F5DEB3 (Text 4) | #FFFACD (Text 5) |
|---|---|---|---|---|---|
| #8B4513 | Same color | 2.37— | 3.82AA Large | 5.40AA | 6.70AA |
| #CD853F | 2.37— | Same color | 1.61— | 2.28— | 2.82— |
| #DEB887 | 3.82AA Large | 1.61— | Same color | 1.41— | 1.75— |
| #F5DEB3 | 5.40AA | 2.28— | 1.41— | Same color | 1.24— |
| #FFFACD | 6.70AA | 2.82— | 1.75— | 1.24— | Same color |
Shades
Shades and tints (50–950)
