PreviewingGo to this paletteOpen in generator
Code
/* Rye Bread Crust — colorset.net */
:root {
--color-1: #F8EDD8;
--color-2: #8C541F;
--color-3: #633416;
--color-4: #D0B56A;
--color-5: #30180A;
--color-bg: #F8EDD8;
--color-surface: #FBF5E8;
--color-border: #E1D4BC;
--color-text: #30180A;
--color-muted: #7F6557;
--color-primary: #8C541F;
--color-on-primary: #FFFFFF;
--color-accent: #A0863B;
--color-on-accent: #30180A;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #30180A;
--color-surface: #3C2315;
--color-border: #51392D;
--color-text: #F8EDD8;
--color-muted: #9B917E;
--color-primary: #9F6532;
--color-on-primary: #FFFFFF;
--color-accent: #D0B56A;
--color-on-accent: #30180A;
}
}
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 #8C541F |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8C541F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.35:1 | AAA pass 4.5:1 | |
| Text on surface | 15.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 6.17:1 | AA pass 4.5:1 | |
| Label on accent | 4.73:1 | AA pass 4.5:1 | |
| Primary on background | 5.32:1 | AA pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.35:1 | AAA pass 4.5:1 | |
| Text on surface | 12.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.35:1 | AA pass 4.5:1 | |
| Label on primary | 4.79:1 | AA pass 4.5:1 | |
| Label on accent | 8.33:1 | AAA pass 4.5:1 | |
| Primary on background | 3.48:1 | AA Large pass 3:1 | |
| Accent on background | 8.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 | #F8EDD8 (Text 1) | #8C541F (Text 2) | #633416 (Text 3) | #D0B56A (Text 4) | #30180A (Text 5) |
|---|---|---|---|---|---|
| #F8EDD8 | Same color | 5.32AA | 8.90AAA | 1.72— | 14.35AAA |
| #8C541F | 5.32AA | Same color | 1.67— | 3.09AA Large | 2.70— |
| #633416 | 8.90AAA | 1.67— | Same color | 5.16AA | 1.61— |
| #D0B56A | 1.72— | 3.09AA Large | 5.16AA | Same color | 8.33AAA |
| #30180A | 14.35AAA | 2.70— | 1.61— | 8.33AAA | Same color |
Shades
Shades and tints (50–950)
