PreviewingGo to this paletteOpen in generator
Code
/* Poster Yellow — colorset.net */
:root {
--color-1: #F4D35E;
--color-2: #1F3C88;
--color-3: #D7372B;
--color-4: #F8F3E6;
--color-5: #1A1918;
--color-bg: #F8F3E6;
--color-surface: #FDFAF3;
--color-border: #E0DACA;
--color-text: #1A1918;
--color-muted: #6C6B6A;
--color-primary: #D7372B;
--color-on-primary: #FFFFFF;
--color-accent: #1F3C88;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1918;
--color-surface: #252422;
--color-border: #3C3835;
--color-text: #F8F3E6;
--color-muted: #938F83;
--color-primary: #D7372B;
--color-on-primary: #FFFFFF;
--color-accent: #496BBC;
--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 4 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #1F3C88 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.85:1 | AAA pass 4.5:1 | |
| Text on surface | 16.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.80:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 10.19:1 | AAA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 9.20:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.85:1 | AAA pass 4.5:1 | |
| Text on surface | 14.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.43:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 5.11:1 | AA pass 4.5:1 | |
| Primary on background | 3.74:1 | AA Large pass 3:1 | |
| Accent on background | 3.44: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 | #F4D35E (Text 1) | #1F3C88 (Text 2) | #D7372B (Text 3) | #F8F3E6 (Text 4) | #1A1918 (Text 5) |
|---|---|---|---|---|---|
| #F4D35E | Same color | 6.95AA | 3.20AA Large | 1.32— | 11.98AAA |
| #1F3C88 | 6.95AA | Same color | 2.17— | 9.20AAA | 1.72— |
| #D7372B | 3.20AA Large | 2.17— | Same color | 4.24AA Large | 3.74AA Large |
| #F8F3E6 | 1.32— | 9.20AAA | 4.24AA Large | Same color | 15.85AAA |
| #1A1918 | 11.98AAA | 1.72— | 3.74AA Large | 15.85AAA | Same color |
Shades
Shades and tints (50–950)
