PreviewingGo to this paletteOpen in generator
Code
/* Rye Loaf — colorset.net */
:root {
--color-1: #FBF4E6;
--color-2: #DD7B2B;
--color-3: #284A6C;
--color-4: #F4BF8C;
--color-5: #2D1E14;
--color-bg: #FBF4E6;
--color-surface: #FFFCF5;
--color-border: #E4DBCA;
--color-text: #2D1E14;
--color-muted: #7E6B5F;
--color-primary: #D3721E;
--color-on-primary: #2D1E14;
--color-accent: #284A6C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2D1E14;
--color-surface: #39291F;
--color-border: #513E31;
--color-text: #FBF4E6;
--color-muted: #9A9487;
--color-primary: #DD7B2B;
--color-on-primary: #2D1E14;
--color-accent: #54789C;
--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 | 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 | adjusted for contrast · from #DD7B2B | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #284A6C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.67:1 | AAA pass 4.5:1 | |
| Text on surface | 15.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.74:1 | AA pass 4.5:1 | |
| Label on accent | 9.19:1 | AAA pass 4.5:1 | |
| Primary on background | 3.10:1 | AA Large pass 3:1 | |
| Accent on background | 8.39:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.67:1 | AAA pass 4.5:1 | |
| Text on surface | 12.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 5.31:1 | AA pass 3:1 | |
| Accent on background | 3.48: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 | #FBF4E6 (Text 1) | #DD7B2B (Text 2) | #284A6C (Text 3) | #F4BF8C (Text 4) | #2D1E14 (Text 5) |
|---|---|---|---|---|---|
| #FBF4E6 | Same color | 2.76— | 8.39AAA | 1.51— | 14.67AAA |
| #DD7B2B | 2.76— | Same color | 3.04AA Large | 1.83— | 5.31AA |
| #284A6C | 8.39AAA | 3.04AA Large | Same color | 5.55AA | 1.75— |
| #F4BF8C | 1.51— | 1.83— | 5.55AA | Same color | 9.70AAA |
| #2D1E14 | 14.67AAA | 5.31AA | 1.75— | 9.70AAA | Same color |
Shades
Shades and tints (50–950)
