In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* New Leaf — colorset.net */
:root {
--color-1: #3F7D20;
--color-2: #5B9E2C;
--color-3: #77BB41;
--color-4: #93D158;
--color-5: #AFE873;
--color-bg: #F2FAEC;
--color-surface: #E9F0E3;
--color-border: #CFD9C8;
--color-text: #335824;
--color-muted: #5F6F59;
--color-primary: #438502;
--color-on-primary: #FFFFFF;
--color-accent: #639717;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #081304;
--color-surface: #111D0D;
--color-border: #24331F;
--color-text: #C8DAB8;
--color-muted: #79876E;
--color-primary: #5B9E2C;
--color-on-primary: #081304;
--color-accent: #AFE873;
--color-on-accent: #081304;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | für Kontrast angepasst · aus #AFE873 | für Kontrast angepasst · aus #3F7D20 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #3F7D20 | für Kontrast angepasst · aus #AFE873 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #3F7D20 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #5B9E2C | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,67:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,04:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,04:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,57:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,97:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,28:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,29:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 12,83:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 11,76:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,98:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,77:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 13,22:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,77:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 13,22:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #3F7D20 (Text 1) | #5B9E2C (Text 2) | #77BB41 (Text 3) | #93D158 (Text 4) | #AFE873 (Text 5) |
|---|---|---|---|---|---|
| #3F7D20 | Gleiche Farbe | 1,53— | 2,15— | 2,76— | 3,51AA groß |
| #5B9E2C | 1,53— | Gleiche Farbe | 1,41— | 1,81— | 2,29— |
| #77BB41 | 2,15— | 1,41— | Gleiche Farbe | 1,28— | 1,63— |
| #93D158 | 2,76— | 1,81— | 1,28— | Gleiche Farbe | 1,27— |
| #AFE873 | 3,51AA groß | 2,29— | 1,63— | 1,27— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
