PreviewingGo to this paletteOpen in generator
Code
/* Yellow Green — colorset.net */
:root {
--color-1: #FEF3C7;
--color-2: #FDE047;
--color-3: #84CC16;
--color-4: #22C55E;
--color-5: #10B981;
--color-bg: #FAF7EA;
--color-surface: #F1EEE1;
--color-border: #D9D5C5;
--color-text: #015B3D;
--color-muted: #547162;
--color-primary: #00863A;
--color-on-primary: #FFFFFF;
--color-accent: #887600;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #01140B;
--color-surface: #081E15;
--color-border: #1A3428;
--color-text: #FCF3CD;
--color-muted: #90896E;
--color-primary: #22C55E;
--color-on-primary: #01140B;
--color-accent: #FDE047;
--color-on-accent: #01140B;
}
}
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 #FEF3C7 | adjusted for contrast · from #10B981 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #10B981 | adjusted for contrast · from #FEF3C7 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #10B981 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #10B981 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 4.37:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.03:1 | AAA pass 4.5:1 | |
| Text on surface | 15.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.41:1 | AA pass 4.5:1 | |
| Label on primary | 8.33:1 | AAA pass 4.5:1 | |
| Label on accent | 14.40:1 | AAA pass 4.5:1 | |
| Primary on background | 8.33:1 | AAA pass 3:1 | |
| Accent on background | 14.40: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 | #FEF3C7 (Text 1) | #FDE047 (Text 2) | #84CC16 (Text 3) | #22C55E (Text 4) | #10B981 (Text 5) |
|---|---|---|---|---|---|
| #FEF3C7 | Same color | 1.18— | 1.77— | 2.05— | 2.28— |
| #FDE047 | 1.18— | Same color | 1.50— | 1.73— | 1.92— |
| #84CC16 | 1.77— | 1.50— | Same color | 1.15— | 1.28— |
| #22C55E | 2.05— | 1.73— | 1.15— | Same color | 1.11— |
| #10B981 | 2.28— | 1.92— | 1.28— | 1.11— | Same color |
Shades
Shades and tints (50–950)
