PreviewingGo to this paletteOpen in generator
Code
/* Primrose Lemon — colorset.net */
:root {
--color-1: #F6D743;
--color-2: #F8E071;
--color-3: #FAEB8E;
--color-4: #FCF4AB;
--color-5: #FEFDC8;
--color-bg: #F8F8E9;
--color-surface: #EFEFE0;
--color-border: #D6D6C4;
--color-text: #5B4D00;
--color-muted: #706A50;
--color-primary: #A08800;
--color-on-primary: #000000;
--color-accent: #8B8A59;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #332E15;
--color-text: #FDFCD5;
--color-muted: #8F8E73;
--color-primary: #F6D743;
--color-on-primary: #140F00;
--color-accent: #FAEB8E;
--color-on-accent: #140F00;
}
}
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 #FEFDC8 | adjusted for contrast · from #F6D743 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F6D743 | adjusted for contrast · from #FEFDC8 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F6D743 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F6D743 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 6.02:1 | AA pass 4.5:1 | |
| Label on accent | 5.88:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.27:1 | AAA pass 4.5:1 | |
| Text on surface | 16.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.72:1 | AA pass 4.5:1 | |
| Label on primary | 13.41:1 | AAA pass 4.5:1 | |
| Label on accent | 15.79:1 | AAA pass 4.5:1 | |
| Primary on background | 13.41:1 | AAA pass 3:1 | |
| Accent on background | 15.79: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 | #F6D743 (Text 1) | #F8E071 (Text 2) | #FAEB8E (Text 3) | #FCF4AB (Text 4) | #FEFDC8 (Text 5) |
|---|---|---|---|---|---|
| #F6D743 | Same color | 1.08— | 1.18— | 1.27— | 1.37— |
| #F8E071 | 1.08— | Same color | 1.09— | 1.17— | 1.26— |
| #FAEB8E | 1.18— | 1.09— | Same color | 1.08— | 1.16— |
| #FCF4AB | 1.27— | 1.17— | 1.08— | Same color | 1.08— |
| #FEFDC8 | 1.37— | 1.26— | 1.16— | 1.08— | Same color |
Shades
Shades and tints (50–950)
