PreviewingGo to this paletteOpen in generator
Code
/* Canary Lemon — colorset.net */
:root {
--color-1: #FFEF00;
--color-2: #FFF200;
--color-3: #FFF44F;
--color-4: #FFF799;
--color-5: #FFFFCC;
--color-bg: #F8F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D6C4;
--color-text: #565000;
--color-muted: #6E6C51;
--color-primary: #7F7800;
--color-on-primary: #FFFFFF;
--color-accent: #89895A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121000;
--color-surface: #1C1A06;
--color-border: #312F16;
--color-text: #FEFED7;
--color-muted: #909074;
--color-primary: #FFF200;
--color-on-primary: #121000;
--color-accent: #FFF799;
--color-on-accent: #121000;
}
}
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 #FFFFCC | adjusted for contrast · from #FFEF00 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFEF00 | adjusted for contrast · from #FFFFCC |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFEF00 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFEF00 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.38:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.52:1 | AAA pass 4.5:1 | |
| Text on surface | 16.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.84:1 | AA pass 4.5:1 | |
| Label on primary | 16.32:1 | AAA pass 4.5:1 | |
| Label on accent | 17.29:1 | AAA pass 4.5:1 | |
| Primary on background | 16.32:1 | AAA pass 3:1 | |
| Accent on background | 17.29: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 | #FFEF00 (Text 1) | #FFF200 (Text 2) | #FFF44F (Text 3) | #FFF799 (Text 4) | #FFFFCC (Text 5) |
|---|---|---|---|---|---|
| #FFEF00 | Same color | 1.02— | 1.04— | 1.08— | 1.16— |
| #FFF200 | 1.02— | Same color | 1.02— | 1.06— | 1.14— |
| #FFF44F | 1.04— | 1.02— | Same color | 1.04— | 1.12— |
| #FFF799 | 1.08— | 1.06— | 1.04— | Same color | 1.07— |
| #FFFFCC | 1.16— | 1.14— | 1.12— | 1.07— | Same color |
Shades
Shades and tints (50–950)
