PreviewingGo to this paletteOpen in generator
Code
/* Celery Green — colorset.net */
:root {
--color-1: #A4C639;
--color-2: #B8D433;
--color-3: #CCE84B;
--color-4: #DEF569;
--color-5: #E8F48C;
--color-bg: #F6F9EA;
--color-surface: #EDEFE0;
--color-border: #D4D7C5;
--color-text: #445312;
--color-muted: #656D54;
--color-primary: #667F00;
--color-on-primary: #FFFFFF;
--color-accent: #7E9200;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1202;
--color-surface: #171C09;
--color-border: #2A311A;
--color-text: #E9EEC8;
--color-muted: #84886C;
--color-primary: #A4C639;
--color-on-primary: #0D1202;
--color-accent: #DEF569;
--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 #E8F48C | adjusted for contrast · from #A4C639 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A4C639 | adjusted for contrast · from #E8F48C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A4C639 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A4C639 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.87:1 | AAA pass 4.5:1 | |
| Text on surface | 14.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.18:1 | AA pass 4.5:1 | |
| Label on primary | 9.70:1 | AAA pass 4.5:1 | |
| Label on accent | 15.73:1 | AAA pass 4.5:1 | |
| Primary on background | 9.70:1 | AAA pass 3:1 | |
| Accent on background | 15.73: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 | #A4C639 (Text 1) | #B8D433 (Text 2) | #CCE84B (Text 3) | #DEF569 (Text 4) | #E8F48C (Text 5) |
|---|---|---|---|---|---|
| #A4C639 | Same color | 1.17— | 1.42— | 1.62— | 1.66— |
| #B8D433 | 1.17— | Same color | 1.22— | 1.39— | 1.42— |
| #CCE84B | 1.42— | 1.22— | Same color | 1.14— | 1.17— |
| #DEF569 | 1.62— | 1.39— | 1.14— | Same color | 1.02— |
| #E8F48C | 1.66— | 1.42— | 1.17— | 1.02— | Same color |
Shades
Shades and tints (50–950)
