In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Database Green — colorset.net */
:root {
--color-1: #4DB33D;
--color-2: #3FA037;
--color-3: #2E7D32;
--color-4: #1B5E20;
--color-5: #0D5016;
--color-bg: #F0FAEE;
--color-surface: #E6F1E5;
--color-border: #CCD9CA;
--color-text: #1E4E21;
--color-muted: #5B6F5A;
--color-primary: #218719;
--color-on-primary: #FFFFFF;
--color-accent: #1B5E20;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #051306;
--color-surface: #0F1E0F;
--color-border: #213321;
--color-text: #94AD90;
--color-muted: #768A73;
--color-primary: #3FA037;
--color-on-primary: #051306;
--color-accent: #357338;
--color-on-accent: #FFFFFF;
}
}
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 #4DB33D | für Kontrast angepasst · aus #0D5016 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #0D5016 | für Kontrast angepasst · aus #4DB33D |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #2E7D32 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 4 | für Kontrast angepasst · aus #2E7D32 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 9,05:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 8,34:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,07:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,62:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,87:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,32:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,35:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,84:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,12:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,13:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,71:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,74:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,71:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,32:1 | AA groß 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 | #4DB33D (Text 1) | #3FA037 (Text 2) | #2E7D32 (Text 3) | #1B5E20 (Text 4) | #0D5016 (Text 5) |
|---|---|---|---|---|---|
| #4DB33D | Gleiche Farbe | 1,24— | 1,91— | 2,93— | 3,60AA groß |
| #3FA037 | 1,24— | Gleiche Farbe | 1,54— | 2,36— | 2,89— |
| #2E7D32 | 1,91— | 1,54— | Gleiche Farbe | 1,53— | 1,88— |
| #1B5E20 | 2,93— | 2,36— | 1,53— | Gleiche Farbe | 1,23— |
| #0D5016 | 3,60AA groß | 2,89— | 1,88— | 1,23— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
