In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Mocha Cream — colorset.net */
:root {
--color-1: #8B6F47;
--color-2: #A68A5B;
--color-3: #C4A572;
--color-4: #D9C4A0;
--color-5: #E8D5B7;
--color-bg: #FCF6ED;
--color-surface: #F2EDE4;
--color-border: #DBD4C8;
--color-text: #654A22;
--color-muted: #796952;
--color-primary: #8B6F47;
--color-on-primary: #FFFFFF;
--color-accent: #958468;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E03;
--color-surface: #21180B;
--color-border: #372C1C;
--color-text: #E8D5B7;
--color-muted: #918269;
--color-primary: #8B6F47;
--color-on-primary: #FFFFFF;
--color-accent: #D9C4A0;
--color-on-accent: #160E03;
}
}
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 #E8D5B7 | für Kontrast angepasst · aus #8B6F47 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #8B6F47 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 1 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #A68A5B | aus der Palette · Farbe 4 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,65:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,05:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,94:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,71:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,78:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,38:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,38:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,32:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 12,19:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,10:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,71:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,25:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,06:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 11,25:1 | AAA 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 | #8B6F47 (Text 1) | #A68A5B (Text 2) | #C4A572 (Text 3) | #D9C4A0 (Text 4) | #E8D5B7 (Text 5) |
|---|---|---|---|---|---|
| #8B6F47 | Gleiche Farbe | 1,44— | 2,01— | 2,77— | 3,28AA groß |
| #A68A5B | 1,44— | Gleiche Farbe | 1,40— | 1,93— | 2,28— |
| #C4A572 | 2,01— | 1,40— | Gleiche Farbe | 1,38— | 1,63— |
| #D9C4A0 | 2,77— | 1,93— | 1,38— | Gleiche Farbe | 1,18— |
| #E8D5B7 | 3,28AA groß | 2,28— | 1,63— | 1,18— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
