PreviewingGo to this paletteOpen in generator
Code
/* Churned Butter — colorset.net */
:root {
--color-1: #FFDB58;
--color-2: #FFE066;
--color-3: #FFE574;
--color-4: #FFEA82;
--color-5: #FFEF90;
--color-bg: #FAF7E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #5C4B00;
--color-muted: #71694F;
--color-primary: #A38600;
--color-on-primary: #000000;
--color-accent: #867601;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1F1905;
--color-border: #342D15;
--color-text: #F4EEC8;
--color-muted: #8B876B;
--color-primary: #FFDB58;
--color-on-primary: #140F00;
--color-accent: #C2A538;
--color-on-accent: #140F00;
}
}
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 | adjusted for contrast · from #FFEF90 | adjusted for contrast · from #FFDB58 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFDB58 | adjusted for contrast · from #FFEF90 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFDB58 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFDB58 | adjusted for contrast · from #FFDB58 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.94:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.24: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.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 14.14:1 | AAA pass 4.5:1 | |
| Label on accent | 7.95:1 | AAA pass 4.5:1 | |
| Primary on background | 14.14:1 | AAA pass 3:1 | |
| Accent on background | 7.95: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 | #FFDB58 (Text 1) | #FFE066 (Text 2) | #FFE574 (Text 3) | #FFEA82 (Text 4) | #FFEF90 (Text 5) |
|---|---|---|---|---|---|
| #FFDB58 | Same color | 1.04— | 1.08— | 1.12— | 1.16— |
| #FFE066 | 1.04— | Same color | 1.04— | 1.08— | 1.12— |
| #FFE574 | 1.08— | 1.04— | Same color | 1.04— | 1.08— |
| #FFEA82 | 1.12— | 1.08— | 1.04— | Same color | 1.04— |
| #FFEF90 | 1.16— | 1.12— | 1.08— | 1.04— | Same color |
Shades
Shades and tints (50–950)
