In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Basil Herb — colorset.net */
:root {
--color-1: #356859;
--color-2: #4A7C59;
--color-3: #5F9EA0;
--color-4: #6B8E23;
--color-5: #8FBC8F;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #235749;
--color-muted: #527167;
--color-primary: #5D7F09;
--color-on-primary: #FFFFFF;
--color-accent: #539294;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #04130E;
--color-surface: #0D1D18;
--color-border: #1E332C;
--color-text: #9BB79B;
--color-muted: #748974;
--color-primary: #5D7F09;
--color-on-primary: #FFFFFF;
--color-accent: #5F9EA0;
--color-on-accent: #04130E;
}
}
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 #8FBC8F | für Kontrast angepasst · aus #356859 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #356859 | für Kontrast angepasst · aus #8FBC8F |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #6B8E23 | für Kontrast angepasst · aus #6B8E23 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #5F9EA0 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,79:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,14:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,03:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,66:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,91:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,38:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,34:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 8,73:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,99:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,05:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,66:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,23:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,08:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,23:1 | AA 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 | #356859 (Text 1) | #4A7C59 (Text 2) | #5F9EA0 (Text 3) | #6B8E23 (Text 4) | #8FBC8F (Text 5) |
|---|---|---|---|---|---|
| #356859 | Gleiche Farbe | 1,32— | 2,10— | 1,68— | 2,98— |
| #4A7C59 | 1,32— | Gleiche Farbe | 1,59— | 1,28— | 2,26— |
| #5F9EA0 | 2,10— | 1,59— | Gleiche Farbe | 1,25— | 1,42— |
| #6B8E23 | 1,68— | 1,28— | 1,25— | Gleiche Farbe | 1,77— |
| #8FBC8F | 2,98— | 2,26— | 1,42— | 1,77— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
