PreviewingGo to this paletteOpen in generator
Code
/* Steamer Trunk — colorset.net */
:root {
--color-1: #2B2019;
--color-2: #9A6A3F;
--color-3: #C9B48A;
--color-4: #5C6F65;
--color-5: #F1E7D5;
--color-bg: #F1E7D5;
--color-surface: #F5EFE4;
--color-border: #DACEB9;
--color-text: #2B2019;
--color-muted: #73655D;
--color-primary: #9A6A3F;
--color-on-primary: #FFFFFF;
--color-accent: #8B8272;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2B2019;
--color-surface: #362B24;
--color-border: #4F4036;
--color-text: #F1E7D5;
--color-muted: #9C9382;
--color-primary: #9D6D42;
--color-on-primary: #000000;
--color-accent: #83766D;
--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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #9A6A3F |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9A6A3F | adjusted for contrast · from #9A6A3F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.95:1 | AAA pass 4.5:1 | |
| Text on surface | 13.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.53:1 | AA pass 4.5:1 | |
| Primary on background | 3.80:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.95:1 | AAA pass 4.5:1 | |
| Text on surface | 11.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.78:1 | AA pass 4.5:1 | |
| Primary on background | 3.55:1 | AA Large pass 3:1 | |
| Accent on background | 3.61: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 | #2B2019 (Text 1) | #9A6A3F (Text 2) | #C9B48A (Text 3) | #5C6F65 (Text 4) | #F1E7D5 (Text 5) |
|---|---|---|---|---|---|
| #2B2019 | Same color | 3.41AA Large | 7.84AAA | 2.96— | 12.95AAA |
| #9A6A3F | 3.41AA Large | Same color | 2.30— | 1.15— | 3.80AA Large |
| #C9B48A | 7.84AAA | 2.30— | Same color | 2.65— | 1.65— |
| #5C6F65 | 2.96— | 1.15— | 2.65— | Same color | 4.37AA Large |
| #F1E7D5 | 12.95AAA | 3.80AA Large | 1.65— | 4.37AA Large | Same color |
Shades
Shades and tints (50–950)
