PreviewingGo to this paletteOpen in generator
Code
/* Hygge Ember — colorset.net */
:root {
--color-1: #F5EFE6;
--color-2: #B86F45;
--color-3: #5F7A8A;
--color-4: #DCCFBE;
--color-5: #2D2925;
--color-bg: #F5EFE6;
--color-surface: #FAF7F1;
--color-border: #DED6CA;
--color-text: #2D2925;
--color-muted: #716C68;
--color-primary: #AB6339;
--color-on-primary: #FFFFFF;
--color-accent: #8F8A81;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0E;
--color-surface: #1B1918;
--color-border: #312D29;
--color-text: #F5EFE6;
--color-muted: #8C877F;
--color-primary: #AB6339;
--color-on-primary: #FFFFFF;
--color-accent: #6B6662;
--color-on-accent: #FFFFFF;
}
}
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 #2D2925 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B86F45 | adjusted for contrast · from #B86F45 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5F7A8A | adjusted for contrast · from #5F7A8A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.62:1 | AAA pass 4.5:1 | |
| Text on surface | 13.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 4.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.00:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.72:1 | AAA pass 4.5:1 | |
| Text on surface | 15.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.36:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.67:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large 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 | #F5EFE6 (Text 1) | #B86F45 (Text 2) | #5F7A8A (Text 3) | #DCCFBE (Text 4) | #2D2925 (Text 5) |
|---|---|---|---|---|---|
| #F5EFE6 | Same color | 3.40AA Large | 3.96AA Large | 1.34— | 12.62AAA |
| #B86F45 | 3.40AA Large | Same color | 1.16— | 2.54— | 3.71AA Large |
| #5F7A8A | 3.96AA Large | 1.16— | Same color | 2.96— | 3.19AA Large |
| #DCCFBE | 1.34— | 2.54— | 2.96— | Same color | 9.42AAA |
| #2D2925 | 12.62AAA | 3.71AA Large | 3.19AA Large | 9.42AAA | Same color |
Shades
Shades and tints (50–950)
