In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Mustard Knit — colorset.net */
:root {
--color-1: #F8F5EA;
--color-2: #DDB13A;
--color-3: #683738;
--color-4: #E8D89B;
--color-5: #2A280B;
--color-bg: #F8F5EA;
--color-surface: #FEFCF6;
--color-border: #E0DCCE;
--color-text: #2A280B;
--color-muted: #737257;
--color-primary: #AD8600;
--color-on-primary: #000000;
--color-accent: #683738;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #101007;
--color-surface: #1B1A10;
--color-border: #2F2F21;
--color-text: #F8F5EA;
--color-muted: #8D8A80;
--color-primary: #DDB13A;
--color-on-primary: #101007;
--color-accent: #8D5858;
--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 | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #2A280B |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #DDB13A | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 3 | für Kontrast angepasst · aus #683738 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,68:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,55:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,50:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,19:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,58:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,11:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,78:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 17,50:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,01:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,53:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 9,48:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,72:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 9,48:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,34: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 | #F8F5EA (Text 1) | #DDB13A (Text 2) | #683738 (Text 3) | #E8D89B (Text 4) | #2A280B (Text 5) |
|---|---|---|---|---|---|
| #F8F5EA | Gleiche Farbe | 1,85— | 8,78AAA | 1,31— | 13,68AAA |
| #DDB13A | 1,85— | Gleiche Farbe | 4,76AA | 1,41— | 7,41AAA |
| #683738 | 8,78AAA | 4,76AA | Gleiche Farbe | 6,72AA | 1,56— |
| #E8D89B | 1,31— | 1,41— | 6,72AA | Gleiche Farbe | 10,47AAA |
| #2A280B | 13,68AAA | 7,41AAA | 1,56— | 10,47AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
