PreviewingGo to this paletteOpen in generator
Code
/* Blue Yellow — colorset.net */
:root {
--color-1: #007FFF;
--color-2: #4D9AFF;
--color-3: #FFFF00;
--color-4: #FFE135;
--color-5: #FFC947;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D5D7C4;
--color-text: #2B4E7E;
--color-muted: #5B6C82;
--color-primary: #0071E4;
--color-on-primary: #FFFFFF;
--color-accent: #9D8900;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05101E;
--color-surface: #0E1A29;
--color-border: #202F42;
--color-text: #F6F8D2;
--color-muted: #8B8C71;
--color-primary: #0071E4;
--color-on-primary: #FFFFFF;
--color-accent: #FFE135;
--color-on-accent: #05101E;
}
}
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 #FFE135 | adjusted for contrast · from #007FFF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #007FFF | adjusted for contrast · from #FFE135 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #007FFF | adjusted for contrast · from #007FFF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFC947 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.53:1 | AAA pass 4.5:1 | |
| Text on surface | 16.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 14.62:1 | AAA pass 4.5:1 | |
| Primary on background | 4.08:1 | AA Large pass 3:1 | |
| Accent on background | 14.62: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 | #007FFF (Text 1) | #4D9AFF (Text 2) | #FFFF00 (Text 3) | #FFE135 (Text 4) | #FFC947 (Text 5) |
|---|---|---|---|---|---|
| #007FFF | Same color | 1.35— | 3.57AA Large | 2.93— | 2.50— |
| #4D9AFF | 1.35— | Same color | 2.65— | 2.18— | 1.86— |
| #FFFF00 | 3.57AA Large | 2.65— | Same color | 1.22— | 1.43— |
| #FFE135 | 2.93— | 2.18— | 1.22— | Same color | 1.17— |
| #FFC947 | 2.50— | 1.86— | 1.43— | 1.17— | Same color |
Shades
Shades and tints (50–950)
