PreviewingGo to this paletteOpen in generator
Code
/* Citrus Green — colorset.net */
:root {
--color-1: #CCFF00;
--color-2: #DDFF33;
--color-3: #EEFF66;
--color-4: #FFFF99;
--color-5: #FFFFCC;
--color-bg: #F8F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D6C4;
--color-text: #445515;
--color-muted: #656E55;
--color-primary: #759400;
--color-on-primary: #000000;
--color-accent: #89895A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1202;
--color-surface: #161C09;
--color-border: #2A311A;
--color-text: #FEFED7;
--color-muted: #909074;
--color-primary: #CCFF00;
--color-on-primary: #0D1202;
--color-accent: #FFFF99;
--color-on-accent: #0D1202;
}
}
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 #CCFF00 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CCFF00 | adjusted for contrast · from #FFFFCC |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CCFF00 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CCFF00 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.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.44:1 | AAA pass 4.5:1 | |
| Text on surface | 16.92:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.82:1 | AA pass 4.5:1 | |
| Label on primary | 16.18:1 | AAA pass 4.5:1 | |
| Label on accent | 18.12:1 | AAA pass 4.5:1 | |
| Primary on background | 16.18:1 | AAA pass 3:1 | |
| Accent on background | 18.12: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 | #CCFF00 (Text 1) | #DDFF33 (Text 2) | #EEFF66 (Text 3) | #FFFF99 (Text 4) | #FFFFCC (Text 5) |
|---|---|---|---|---|---|
| #CCFF00 | Same color | 1.03— | 1.07— | 1.12— | 1.14— |
| #DDFF33 | 1.03— | Same color | 1.04— | 1.09— | 1.11— |
| #EEFF66 | 1.07— | 1.04— | Same color | 1.05— | 1.07— |
| #FFFF99 | 1.12— | 1.09— | 1.05— | Same color | 1.02— |
| #FFFFCC | 1.14— | 1.11— | 1.07— | 1.02— | Same color |
Shades
Shades and tints (50–950)
