In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Caramel Duo — colorset.net */
:root {
--color-1: #F6EFE6;
--color-2: #C0612B;
--color-3: #23395B;
--color-4: #EDB47A;
--color-5: #2B211B;
--color-bg: #F6EFE6;
--color-surface: #FBF7F1;
--color-border: #DFD6CA;
--color-text: #2B211B;
--color-muted: #756962;
--color-primary: #B95B24;
--color-on-primary: #FFFFFF;
--color-accent: #23395B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2B211B;
--color-surface: #362C26;
--color-border: #4F4139;
--color-text: #F6EFE6;
--color-muted: #9B958D;
--color-primary: #C0612B;
--color-on-primary: #000000;
--color-accent: #617AA0;
--color-on-accent: #000000;
}
}
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 | aus der Palette · Farbe 5 |
| 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 #C0612B | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 3 | für Kontrast angepasst · aus #C0612B |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,78:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,73:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,66:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,58:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,62:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,01:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 10,18:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,78:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 11,91:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,30:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,99:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,80:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,73:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,59: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 | #F6EFE6 (Text 1) | #C0612B (Text 2) | #23395B (Text 3) | #EDB47A (Text 4) | #2B211B (Text 5) |
|---|---|---|---|---|---|
| #F6EFE6 | Gleiche Farbe | 3,69AA groß | 10,18AAA | 1,61— | 13,78AAA |
| #C0612B | 3,69AA groß | Gleiche Farbe | 2,76— | 2,29— | 3,73AA groß |
| #23395B | 10,18AAA | 2,76— | Gleiche Farbe | 6,31AA | 1,35— |
| #EDB47A | 1,61— | 2,29— | 6,31AA | Gleiche Farbe | 8,54AAA |
| #2B211B | 13,78AAA | 3,73AA groß | 1,35— | 8,54AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
