In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Banana Cream — colorset.net */
:root {
--color-1: #FFD700;
--color-2: #FFFF00;
--color-3: #FFFFE0;
--color-4: #FFFACD;
--color-5: #F0E68C;
--color-bg: #FFFFE0;
--color-surface: #F6F6D7;
--color-border: #DDDDBF;
--color-text: #615000;
--color-muted: #766F54;
--color-primary: #929200;
--color-on-primary: #000000;
--color-accent: #8F8F73;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #342E15;
--color-text: #FFFFE0;
--color-muted: #909074;
--color-primary: #FFFF00;
--color-on-primary: #140F00;
--color-accent: #FFD700;
--color-on-accent: #140F00;
}
}
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 3 | für Kontrast angepasst · aus #FFD700 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #FFD700 | aus der Palette · Farbe 3 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #FFD700 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #F0E68C | aus der Palette · Farbe 1 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,77:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,19:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,95:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,33:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,34:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,26:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,25:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,79:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,24:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,85:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 17,81:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 13,63:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 17,81:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 13,63: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 | #FFD700 (Text 1) | #FFFF00 (Text 2) | #FFFFE0 (Text 3) | #FFFACD (Text 4) | #F0E68C (Text 5) |
|---|---|---|---|---|---|
| #FFD700 | Gleiche Farbe | 1,31— | 1,38— | 1,32— | 1,10— |
| #FFFF00 | 1,31— | Gleiche Farbe | 1,06— | 1,01— | 1,19— |
| #FFFFE0 | 1,38— | 1,06— | Gleiche Farbe | 1,04— | 1,26— |
| #FFFACD | 1,32— | 1,01— | 1,04— | Gleiche Farbe | 1,21— |
| #F0E68C | 1,10— | 1,19— | 1,26— | 1,21— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
