PreviewingGo to this paletteOpen in generator
Code
/* Bread And Butter — colorset.net */
:root {
--color-1: #F6ECD6;
--color-2: #C99B5F;
--color-3: #8B5E34;
--color-4: #A8B08A;
--color-5: #3B2A1C;
--color-bg: #F6ECD6;
--color-surface: #FAF4E6;
--color-border: #DFD3BA;
--color-text: #3B2A1C;
--color-muted: #796555;
--color-primary: #8B5E34;
--color-on-primary: #FFFFFF;
--color-accent: #848B66;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140E09;
--color-surface: #1E1813;
--color-border: #352C24;
--color-text: #F6ECD6;
--color-muted: #8E8571;
--color-primary: #8B5E34;
--color-on-primary: #FFFFFF;
--color-accent: #A8B08A;
--color-on-accent: #140E09;
}
}
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 | adjusted for contrast · from #3B2A1C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C99B5F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.66:1 | AAA pass 4.5:1 | |
| Text on surface | 12.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 5.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.77:1 | AA pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.31:1 | AAA pass 4.5:1 | |
| Text on surface | 14.97:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 5.60:1 | AA pass 4.5:1 | |
| Label on accent | 8.43:1 | AAA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 8.43: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 | #F6ECD6 (Text 1) | #C99B5F (Text 2) | #8B5E34 (Text 3) | #A8B08A (Text 4) | #3B2A1C (Text 5) |
|---|---|---|---|---|---|
| #F6ECD6 | Same color | 2.15— | 4.77AA | 1.94— | 11.66AAA |
| #C99B5F | 2.15— | Same color | 2.22— | 1.11— | 5.44AA |
| #8B5E34 | 4.77AA | 2.22— | Same color | 2.47— | 2.44— |
| #A8B08A | 1.94— | 1.11— | 2.47— | Same color | 6.03AA |
| #3B2A1C | 11.66AAA | 5.44AA | 2.44— | 6.03AA | Same color |
Shades
Shades and tints (50–950)
