PreviewingGo to this paletteOpen in generator
Code
/* Daylight Studio — colorset.net */
:root {
--color-1: #F9F9F5;
--color-2: #F0EFE6;
--color-3: #E1DFD0;
--color-4: #F9C59C;
--color-5: #465369;
--color-bg: #F9F9F5;
--color-surface: #F0F0EC;
--color-border: #D7D7D0;
--color-text: #435066;
--color-muted: #5F6D84;
--color-primary: #B18059;
--color-on-primary: #000000;
--color-accent: #8A8A86;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1016;
--color-surface: #151A21;
--color-border: #282E39;
--color-text: #F9F9F5;
--color-muted: #8C8C89;
--color-primary: #F9C59C;
--color-on-primary: #0B1016;
--color-accent: #59677D;
--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 #465369 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #465369 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F9C59C | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #465369 | adjusted for contrast · from #465369 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 6.06:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.09:1 | AAA pass 4.5:1 | |
| Text on surface | 16.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.66:1 | AA pass 4.5:1 | |
| Label on primary | 12.27:1 | AAA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 12.27:1 | AAA pass 3:1 | |
| Accent on background | 3.33: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 | #F9F9F5 (Text 1) | #F0EFE6 (Text 2) | #E1DFD0 (Text 3) | #F9C59C (Text 4) | #465369 (Text 5) |
|---|---|---|---|---|---|
| #F9F9F5 | Same color | 1.09— | 1.27— | 1.47— | 7.36AAA |
| #F0EFE6 | 1.09— | Same color | 1.16— | 1.35— | 6.73AA |
| #E1DFD0 | 1.27— | 1.16— | Same color | 1.16— | 5.80AA |
| #F9C59C | 1.47— | 1.35— | 1.16— | Same color | 4.99AA |
| #465369 | 7.36AAA | 6.73AA | 5.80AA | 4.99AA | Same color |
Shades
Shades and tints (50–950)
