PreviewingGo to this paletteOpen in generator
Code
/* Jam Jar — colorset.net */
:root {
--color-1: #FDF3EF;
--color-2: #B32130;
--color-3: #6C9264;
--color-4: #D58487;
--color-5: #361718;
--color-bg: #FDF3EF;
--color-surface: #FFFCFB;
--color-border: #E7D9D4;
--color-text: #361718;
--color-muted: #866766;
--color-primary: #B32130;
--color-on-primary: #FFFFFF;
--color-accent: #6C9264;
--color-on-accent: #361718;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #361718;
--color-surface: #422223;
--color-border: #563A3A;
--color-text: #FDF3EF;
--color-muted: #9C928F;
--color-primary: #CF3F47;
--color-on-primary: #FFFFFF;
--color-accent: #6C9264;
--color-on-accent: #361718;
}
}
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 | from palette · color 2 | adjusted for contrast · from #B32130 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.89:1 | AAA pass 4.5:1 | |
| Text on surface | 15.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 6.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 6.06:1 | AA pass 3:1 | |
| Accent on background | 3.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.89:1 | AAA pass 4.5:1 | |
| Text on surface | 12.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.35:1 | AA pass 4.5:1 | |
| Label on primary | 4.71:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.45:1 | AA Large pass 3:1 | |
| Accent on background | 4.59:1 | AA 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 | #FDF3EF (Text 1) | #B32130 (Text 2) | #6C9264 (Text 3) | #D58487 (Text 4) | #361718 (Text 5) |
|---|---|---|---|---|---|
| #FDF3EF | Same color | 6.06AA | 3.24AA Large | 2.57— | 14.89AAA |
| #B32130 | 6.06AA | Same color | 1.87— | 2.35— | 2.46— |
| #6C9264 | 3.24AA Large | 1.87— | Same color | 1.26— | 4.59AA |
| #D58487 | 2.57— | 2.35— | 1.26— | Same color | 5.79AA |
| #361718 | 14.89AAA | 2.46— | 4.59AA | 5.79AA | Same color |
Shades
Shades and tints (50–950)
