Butter & Cocoa is a vivid analogous color palette tagged dark, warm, beige. The hues stay within 29° of each other on the color wheel, which is why the palette feels cohesive rather than busy. These are bold, punchy colors that need generous white space around them. The overall temperature is warm.
Color codes click any value to copy
| Swatch | Name | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|---|
| Vanilla | #FFEFA8 | rgb(255, 239, 168) | hsl(49, 100%, 83%) | oklch(94.9% 0.091 97) | |
| Saffron | #FFD36E | rgb(255, 211, 110) | hsl(42, 100%, 72%) | oklch(88.5% 0.129 86) | |
| Coffee | #7A4A2E | rgb(122, 74, 46) | hsl(22, 45%, 33%) | oklch(45.8% 0.077 50) | |
| Espresso | #3A2419 | rgb(58, 36, 25) | hsl(20, 40%, 16%) | oklch(28.5% 0.039 47) |
Why it works and how to use it
The palette holds together thanks to its analogous hue relationship and a strong light-to-dark ladder (83% down to 16% lightness). A natural fit for websites, presentations and branding.
- Background: Vanilla (#FFEFA8) is the lightest color, so it belongs on large surfaces.
- Text: Espresso (#3A2419) on #FFEFA8 gives 12.56:1, passing WCAG AAA.
- Primary: Saffron (#FFD36E) is the most saturated mid-tone; use it for buttons and links with a border or a darker shade for contrast.
- Accent: Coffee (#7A4A2E) for highlights, badges and hover states.
4 of 6 color pairs pass WCAG AA (4.5:1); the strongest is Vanilla on Espresso at 12.56:1.
Preview on a real UI see how the palette feels in context
Design faster with Butter & Cocoa
A palette preview that turns four colors into a page, so you can judge hierarchy, contrast and mood before you commit.
Primary action SecondaryColor blindness simulation
Color-blind check: all four colors stay distinguishable under protanopia, deuteranopia and tritanopia.
Contrast check WCAG ratios between palette colors
| Pair | Sample | Ratio | Level |
|---|---|---|---|
#FFEFA8 on #3A2419 | Aa | 12.56:1 | AAA |
#FFD36E on #3A2419 | Aa | 10.23:1 | AAA |
#FFEFA8 on #7A4A2E | Aa | 6.38:1 | AA |
#FFD36E on #7A4A2E | Aa | 5.2:1 | AA |
#7A4A2E on #3A2419 | Aa | 1.97:1 | Fail |
#FFEFA8 on #FFD36E | Aa | 1.23:1 | Fail |