PreviewingGo to this paletteOpen in generator
Code
/* Molasses Jar — colorset.net */
:root {
--color-1: #170903;
--color-2: #401F0A;
--color-3: #723E14;
--color-4: #9D712D;
--color-5: #EAE0CB;
--color-bg: #F9F6F0;
--color-surface: #F0EDE7;
--color-border: #D9D4CB;
--color-text: #170903;
--color-muted: #725F55;
--color-primary: #9A6E2A;
--color-on-primary: #FFFFFF;
--color-accent: #918875;
--color-on-accent: #170903;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170903;
--color-surface: #22130A;
--color-border: #39261B;
--color-text: #EAE0CB;
--color-muted: #8A806D;
--color-primary: #9A6E2A;
--color-on-primary: #FFFFFF;
--color-accent: #746157;
--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 | adjusted for contrast · from #EAE0CB | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9D712D | adjusted for contrast · from #9D712D |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9D712D | adjusted for contrast · from #9D712D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.08:1 | AAA pass 4.5:1 | |
| Text on surface | 16.69:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.59:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.56:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.88:1 | AAA pass 4.5:1 | |
| Text on surface | 13.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.33: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 | #170903 (Text 1) | #401F0A (Text 2) | #723E14 (Text 3) | #9D712D (Text 4) | #EAE0CB (Text 5) |
|---|---|---|---|---|---|
| #170903 | Same color | 1.32— | 2.24— | 4.49AA Large | 14.88AAA |
| #401F0A | 1.32— | Same color | 1.70— | 3.41AA Large | 11.30AAA |
| #723E14 | 2.24— | 1.70— | Same color | 2.00— | 6.64AA |
| #9D712D | 4.49AA Large | 3.41AA Large | 2.00— | Same color | 3.31AA Large |
| #EAE0CB | 14.88AAA | 11.30AAA | 6.64AA | 3.31AA Large | Same color |
Shades
Shades and tints (50–950)
