PreviewingGo to this paletteOpen in generator
Code
/* Primrose Light — colorset.net */
:root {
--color-1: #FFF7BA;
--color-2: #FFF9C8;
--color-3: #FFFBD6;
--color-4: #FFFDE4;
--color-5: #FFFFF2;
--color-bg: #FFFFF2;
--color-surface: #F6F6E9;
--color-border: #DDDDCD;
--color-text: #5B5318;
--color-muted: #747056;
--color-primary: #958D54;
--color-on-primary: #000000;
--color-accent: #8F8F83;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121001;
--color-surface: #1C1A08;
--color-border: #322E18;
--color-text: #FFFFF2;
--color-muted: #909084;
--color-primary: #FFF7BA;
--color-on-primary: #121001;
--color-accent: #C6BF8E;
--color-on-accent: #121001;
}
}
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 | adjusted for contrast · from #FFF7BA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFF7BA | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFF7BA | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFF7BA | adjusted for contrast · from #FFF7BA |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.22:1 | AA pass 4.5:1 | |
| Label on accent | 6.42:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 3.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.94:1 | AAA pass 4.5:1 | |
| Text on surface | 17.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 17.51:1 | AAA pass 4.5:1 | |
| Label on accent | 10.22:1 | AAA pass 4.5:1 | |
| Primary on background | 17.51:1 | AAA pass 3:1 | |
| Accent on background | 10.22:1 | AAA 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 | #FFF7BA (Text 1) | #FFF9C8 (Text 2) | #FFFBD6 (Text 3) | #FFFDE4 (Text 4) | #FFFFF2 (Text 5) |
|---|---|---|---|---|---|
| #FFF7BA | Same color | 1.02— | 1.04— | 1.06— | 1.08— |
| #FFF9C8 | 1.02— | Same color | 1.02— | 1.04— | 1.06— |
| #FFFBD6 | 1.04— | 1.02— | Same color | 1.02— | 1.04— |
| #FFFDE4 | 1.06— | 1.04— | 1.02— | Same color | 1.02— |
| #FFFFF2 | 1.08— | 1.06— | 1.04— | 1.02— | Same color |
Shades
Shades and tints (50–950)
