In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Dark Chocolate Bar — colorset.net */
:root {
--color-1: #3F2720;
--color-2: #5A3A2F;
--color-3: #754D3E;
--color-4: #90604D;
--color-5: #AB735C;
--color-bg: #FFF4F0;
--color-surface: #FAEAE3;
--color-border: #E4D0C8;
--color-text: #3F2720;
--color-muted: #82655D;
--color-primary: #AB735C;
--color-on-primary: #000000;
--color-accent: #5A3A2F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150D0B;
--color-surface: #201714;
--color-border: #372A27;
--color-text: #C39E8E;
--color-muted: #9A7D71;
--color-primary: #AB735C;
--color-on-primary: #150D0B;
--color-accent: #7B5F57;
--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 #AB735C | für Kontrast angepasst · aus #3F2720 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #AB735C |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 5 | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #90604D |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 12,78:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 11,79:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,34:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,09:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,64:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,35:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,86:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,20: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,88:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,81:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,88:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,31: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 | #3F2720 (Text 1) | #5A3A2F (Text 2) | #754D3E (Text 3) | #90604D (Text 4) | #AB735C (Text 5) |
|---|---|---|---|---|---|
| #3F2720 | Gleiche Farbe | 1,37— | 1,90— | 2,61— | 3,51AA groß |
| #5A3A2F | 1,37— | Gleiche Farbe | 1,39— | 1,91— | 2,57— |
| #754D3E | 1,90— | 1,39— | Gleiche Farbe | 1,37— | 1,85— |
| #90604D | 2,61— | 1,91— | 1,37— | Gleiche Farbe | 1,35— |
| #AB735C | 3,51AA groß | 2,57— | 1,85— | 1,35— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
