PreviewingGo to this paletteOpen in generator
Code
/* Lamplit Cottage — colorset.net */
:root {
--color-1: #241E18;
--color-2: #C98F4A;
--color-3: #8C9B6E;
--color-4: #B5655A;
--color-5: #F2E8D5;
--color-bg: #F2E8D5;
--color-surface: #F6F0E4;
--color-border: #DBCFB9;
--color-text: #241E18;
--color-muted: #6F6861;
--color-primary: #AE5F54;
--color-on-primary: #FFFFFF;
--color-accent: #7A895D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #241E18;
--color-surface: #2F2923;
--color-border: #473E35;
--color-text: #F2E8D5;
--color-muted: #9B9280;
--color-primary: #AE5F54;
--color-on-primary: #FFFFFF;
--color-accent: #8C9B6E;
--color-on-accent: #241E18;
}
}
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 #B5655A | adjusted for contrast · from #B5655A |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8C9B6E | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.56:1 | AAA pass 4.5:1 | |
| Text on surface | 14.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.51:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 3.11:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.56:1 | AAA pass 4.5:1 | |
| Text on surface | 11.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.35:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.58:1 | AA Large pass 3:1 | |
| Accent on background | 5.52: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 | #241E18 (Text 1) | #C98F4A (Text 2) | #8C9B6E (Text 3) | #B5655A (Text 4) | #F2E8D5 (Text 5) |
|---|---|---|---|---|---|
| #241E18 | Same color | 5.90AA | 5.52AA | 3.90AA Large | 13.56AAA |
| #C98F4A | 5.90AA | Same color | 1.07— | 1.51— | 2.30— |
| #8C9B6E | 5.52AA | 1.07— | Same color | 1.41— | 2.46— |
| #B5655A | 3.90AA Large | 1.51— | 1.41— | Same color | 3.47AA Large |
| #F2E8D5 | 13.56AAA | 2.30— | 2.46— | 3.47AA Large | Same color |
Shades
Shades and tints (50–950)
