PreviewingGo to this paletteOpen in generator
Code
/* Canary Bright — colorset.net */
:root {
--color-1: #FFFF99;
--color-2: #FFFFAA;
--color-3: #FFFFBB;
--color-4: #FFFFCC;
--color-5: #FFFFDD;
--color-bg: #FFFFDD;
--color-surface: #F6F6D4;
--color-border: #DDDDBF;
--color-text: #57550A;
--color-muted: #717156;
--color-primary: #939126;
--color-on-primary: #000000;
--color-accent: #8F8F70;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111001;
--color-surface: #1B1B06;
--color-border: #2F2F17;
--color-text: #FFFFDD;
--color-muted: #909074;
--color-primary: #FFFF99;
--color-on-primary: #111001;
--color-accent: #C6C673;
--color-on-accent: #111001;
}
}
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 #FFFF99 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFFF99 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFFF99 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFFFAA | adjusted for contrast · from #FFFF99 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 6.32:1 | AA pass 4.5:1 | |
| Label on accent | 6.33:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.75:1 | AAA pass 4.5:1 | |
| Text on surface | 17.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.85:1 | AA pass 4.5:1 | |
| Label on primary | 18.22:1 | AAA pass 4.5:1 | |
| Label on accent | 10.68:1 | AAA pass 4.5:1 | |
| Primary on background | 18.22:1 | AAA pass 3:1 | |
| Accent on background | 10.68: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 | #FFFF99 (Text 1) | #FFFFAA (Text 2) | #FFFFBB (Text 3) | #FFFFCC (Text 4) | #FFFFDD (Text 5) |
|---|---|---|---|---|---|
| #FFFF99 | Same color | 1.01— | 1.01— | 1.02— | 1.03— |
| #FFFFAA | 1.01— | Same color | 1.01— | 1.01— | 1.02— |
| #FFFFBB | 1.01— | 1.01— | Same color | 1.01— | 1.02— |
| #FFFFCC | 1.02— | 1.01— | 1.01— | Same color | 1.01— |
| #FFFFDD | 1.03— | 1.02— | 1.02— | 1.01— | Same color |
Shades
Shades and tints (50–950)
