PreviewingGo to this paletteOpen in generator
Code
/* Cocoa Cart — colorset.net */
:root {
--color-1: #1E1612;
--color-2: #E8A15A;
--color-3: #7FB3A6;
--color-4: #3B2C24;
--color-5: #F5ECE2;
--color-bg: #F5ECE2;
--color-surface: #F9F4EE;
--color-border: #DED3C6;
--color-text: #1E1612;
--color-muted: #706661;
--color-primary: #A96717;
--color-on-primary: #FFFFFF;
--color-accent: #5E9185;
--color-on-accent: #1E1612;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1E1612;
--color-surface: #29201C;
--color-border: #41352F;
--color-text: #F5ECE2;
--color-muted: #928A81;
--color-primary: #E8A15A;
--color-on-primary: #1E1612;
--color-accent: #7FB3A6;
--color-on-accent: #1E1612;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E8A15A | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7FB3A6 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.25:1 | AAA pass 4.5:1 | |
| Text on surface | 16.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.78:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.98:1 | AA pass 4.5:1 | |
| Primary on background | 3.88:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.25:1 | AAA pass 4.5:1 | |
| Text on surface | 13.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 8.21:1 | AAA pass 4.5:1 | |
| Label on accent | 7.55:1 | AAA pass 4.5:1 | |
| Primary on background | 8.21:1 | AAA pass 3:1 | |
| Accent on background | 7.55: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 | #1E1612 (Text 1) | #E8A15A (Text 2) | #7FB3A6 (Text 3) | #3B2C24 (Text 4) | #F5ECE2 (Text 5) |
|---|---|---|---|---|---|
| #1E1612 | Same color | 8.21AAA | 7.55AAA | 1.33— | 15.25AAA |
| #E8A15A | 8.21AAA | Same color | 1.09— | 6.16AA | 1.86— |
| #7FB3A6 | 7.55AAA | 1.09— | Same color | 5.66AA | 2.02— |
| #3B2C24 | 1.33— | 6.16AA | 5.66AA | Same color | 11.44AAA |
| #F5ECE2 | 15.25AAA | 1.86— | 2.02— | 11.44AAA | Same color |
Shades
Shades and tints (50–950)
