PreviewingGo to this paletteOpen in generator
Code
/* Butter Biscuit — colorset.net */
:root {
--color-1: #FBF5DF;
--color-2: #F6E8B3;
--color-3: #F6D5A8;
--color-4: #C8E8CD;
--color-5: #D9AD8A;
--color-bg: #FBF5DF;
--color-surface: #FFFCF2;
--color-border: #E3DCC3;
--color-text: #714B2B;
--color-muted: #836C5A;
--color-primary: #AF8563;
--color-on-primary: #000000;
--color-accent: #77957C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180C04;
--color-surface: #23160C;
--color-border: #3A2A1D;
--color-text: #FBF5DF;
--color-muted: #908A76;
--color-primary: #D9AD8A;
--color-on-primary: #180C04;
--color-accent: #C8E8CD;
--color-on-accent: #180C04;
}
}
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 #D9AD8A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D9AD8A | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D9AD8A | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D9AD8A | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.01:1 | AAA pass 4.5:1 | |
| Text on surface | 7.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.52:1 | AA pass 4.5:1 | |
| Label on primary | 6.36:1 | AA pass 4.5:1 | |
| Label on accent | 6.37:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.59:1 | AAA pass 4.5:1 | |
| Text on surface | 16.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.56:1 | AA pass 4.5:1 | |
| Label on primary | 9.42:1 | AAA pass 4.5:1 | |
| Label on accent | 14.53:1 | AAA pass 4.5:1 | |
| Primary on background | 9.42:1 | AAA pass 3:1 | |
| Accent on background | 14.53: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 | #FBF5DF (Text 1) | #F6E8B3 (Text 2) | #F6D5A8 (Text 3) | #C8E8CD (Text 4) | #D9AD8A (Text 5) |
|---|---|---|---|---|---|
| #FBF5DF | Same color | 1.12— | 1.28— | 1.21— | 1.87— |
| #F6E8B3 | 1.12— | Same color | 1.14— | 1.08— | 1.66— |
| #F6D5A8 | 1.28— | 1.14— | Same color | 1.06— | 1.46— |
| #C8E8CD | 1.21— | 1.08— | 1.06— | Same color | 1.54— |
| #D9AD8A | 1.87— | 1.66— | 1.46— | 1.54— | Same color |
Shades
Shades and tints (50–950)
