PreviewingGo to this paletteOpen in generator
Code
/* Smoky Ember — colorset.net */
:root {
--color-1: #1E1A18;
--color-2: #E06A3A;
--color-3: #8FA37A;
--color-4: #3D3530;
--color-5: #F2EBE4;
--color-bg: #F2EBE4;
--color-surface: #F7F3EF;
--color-border: #DCD2C8;
--color-text: #1E1A18;
--color-muted: #6E6967;
--color-primary: #C4511D;
--color-on-primary: #FFFFFF;
--color-accent: #7A8E65;
--color-on-accent: #1E1A18;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1E1A18;
--color-surface: #292523;
--color-border: #413935;
--color-text: #F2EBE4;
--color-muted: #918B85;
--color-primary: #E06A3A;
--color-on-primary: #1E1A18;
--color-accent: #8FA37A;
--color-on-accent: #1E1A18;
}
}
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 #E06A3A | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8FA37A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.62:1 | AAA pass 4.5:1 | |
| Text on surface | 15.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 4.84:1 | AA pass 4.5:1 | |
| Primary on background | 3.91:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.62:1 | AAA pass 4.5:1 | |
| Text on surface | 12.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 5.17:1 | AA pass 4.5:1 | |
| Label on accent | 6.32:1 | AA pass 4.5:1 | |
| Primary on background | 5.17:1 | AA pass 3:1 | |
| Accent on background | 6.32: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 | #1E1A18 (Text 1) | #E06A3A (Text 2) | #8FA37A (Text 3) | #3D3530 (Text 4) | #F2EBE4 (Text 5) |
|---|---|---|---|---|---|
| #1E1A18 | Same color | 5.17AA | 6.32AA | 1.44— | 14.62AAA |
| #E06A3A | 5.17AA | Same color | 1.22— | 3.59AA Large | 2.83— |
| #8FA37A | 6.32AA | 1.22— | Same color | 4.39AA Large | 2.31— |
| #3D3530 | 1.44— | 3.59AA Large | 4.39AA Large | Same color | 10.16AAA |
| #F2EBE4 | 14.62AAA | 2.83— | 2.31— | 10.16AAA | Same color |
Shades
Shades and tints (50–950)
