PreviewingGo to this paletteOpen in generator
Code
/* Havana Shutters — colorset.net */
:root {
--color-1: #F5E9D9;
--color-2: #794220;
--color-3: #A56B38;
--color-4: #50B39B;
--color-5: #2C170B;
--color-bg: #F5E9D9;
--color-surface: #F8F1E7;
--color-border: #DED0BD;
--color-text: #2C170B;
--color-muted: #7C6254;
--color-primary: #A26835;
--color-on-primary: #FFFFFF;
--color-accent: #12846E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2C170B;
--color-surface: #382216;
--color-border: #4F372A;
--color-text: #F5E9D9;
--color-muted: #998E7F;
--color-primary: #A26835;
--color-on-primary: #FFFFFF;
--color-accent: #50B39B;
--color-on-accent: #2C170B;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A56B38 | adjusted for contrast · from #A56B38 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #50B39B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.21:1 | AAA pass 4.5:1 | |
| Text on surface | 15.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 3.84:1 | AA Large pass 3:1 | |
| Accent on background | 3.85:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.21:1 | AAA pass 4.5:1 | |
| Text on surface | 12.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.29:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 6.69:1 | AA pass 4.5:1 | |
| Primary on background | 3.70:1 | AA Large pass 3:1 | |
| Accent on background | 6.69:1 | AA 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 | #F5E9D9 (Text 1) | #794220 (Text 2) | #A56B38 (Text 3) | #50B39B (Text 4) | #2C170B (Text 5) |
|---|---|---|---|---|---|
| #F5E9D9 | Same color | 6.71AA | 3.68AA Large | 2.12— | 14.21AAA |
| #794220 | 6.71AA | Same color | 1.82— | 3.16AA Large | 2.12— |
| #A56B38 | 3.68AA Large | 1.82— | Same color | 1.74— | 3.86AA Large |
| #50B39B | 2.12— | 3.16AA Large | 1.74— | Same color | 6.69AA |
| #2C170B | 14.21AAA | 2.12— | 3.86AA Large | 6.69AA | Same color |
Shades
Shades and tints (50–950)
