PreviewingGo to this paletteOpen in generator
Code
/* Lemon Bright — colorset.net */
:root {
--color-1: #FFFF99;
--color-2: #FFFF66;
--color-3: #FFFF33;
--color-4: #FFFF00;
--color-5: #E6E600;
--color-bg: #F8F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D6C4;
--color-text: #525205;
--color-muted: #6C6D52;
--color-primary: #8E8E00;
--color-on-primary: #000000;
--color-accent: #797900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #101101;
--color-surface: #1A1B06;
--color-border: #2F3017;
--color-text: #FAFBD5;
--color-muted: #8D8E72;
--color-primary: #E6E600;
--color-on-primary: #101101;
--color-accent: #FFFF00;
--color-on-accent: #101101;
}
}
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 #FFFF99 | adjusted for contrast · from #E6E600 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E6E600 | adjusted for contrast · from #FFFF99 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E6E600 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6E600 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.02:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.98:1 | AAA pass 4.5:1 | |
| Text on surface | 16.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.66:1 | AA pass 4.5:1 | |
| Label on primary | 14.22:1 | AAA pass 4.5:1 | |
| Label on accent | 17.74:1 | AAA pass 4.5:1 | |
| Primary on background | 14.22:1 | AAA pass 3:1 | |
| Accent on background | 17.74: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) | #FFFF66 (Text 2) | #FFFF33 (Text 3) | #FFFF00 (Text 4) | #E6E600 (Text 5) |
|---|---|---|---|---|---|
| #FFFF99 | Same color | 1.01— | 1.02— | 1.02— | 1.28— |
| #FFFF66 | 1.01— | Same color | 1.01— | 1.01— | 1.26— |
| #FFFF33 | 1.02— | 1.01— | Same color | 1.00— | 1.25— |
| #FFFF00 | 1.02— | 1.01— | 1.00— | Same color | 1.25— |
| #E6E600 | 1.28— | 1.26— | 1.25— | 1.25— | Same color |
Shades
Shades and tints (50–950)
