PreviewingGo to this paletteOpen in generator
Code
/* Moonlit Yurt — colorset.net */
:root {
--color-1: #1D1A22;
--color-2: #B77A52;
--color-3: #D9B88F;
--color-4: #5B6C8A;
--color-5: #EFE5D8;
--color-bg: #F9F6F2;
--color-surface: #F0EDE9;
--color-border: #D9D4CD;
--color-text: #1D1A22;
--color-muted: #6D6A74;
--color-primary: #A46840;
--color-on-primary: #FFFFFF;
--color-accent: #5B6C8A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1D1A22;
--color-surface: #28252D;
--color-border: #3E3945;
--color-text: #EFE5D8;
--color-muted: #978E82;
--color-primary: #A46840;
--color-on-primary: #FFFFFF;
--color-accent: #617290;
--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 | adjusted for contrast · from #EFE5D8 | 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 #B77A52 | adjusted for contrast · from #B77A52 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #5B6C8A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.94:1 | AAA pass 4.5:1 | |
| Text on surface | 14.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.31:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 4.93:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.79:1 | AAA pass 4.5:1 | |
| Text on surface | 12.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.86:1 | AA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 3.53: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 | #1D1A22 (Text 1) | #B77A52 (Text 2) | #D9B88F (Text 3) | #5B6C8A (Text 4) | #EFE5D8 (Text 5) |
|---|---|---|---|---|---|
| #1D1A22 | Same color | 4.84AA | 9.16AAA | 3.24AA Large | 13.79AAA |
| #B77A52 | 4.84AA | Same color | 1.89— | 1.50— | 2.85— |
| #D9B88F | 9.16AAA | 1.89— | Same color | 2.83— | 1.51— |
| #5B6C8A | 3.24AA Large | 1.50— | 2.83— | Same color | 4.26AA Large |
| #EFE5D8 | 13.79AAA | 2.85— | 1.51— | 4.26AA Large | Same color |
Shades
Shades and tints (50–950)
