In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Melon Slice — colorset.net */
:root {
--color-1: #E4F8E7;
--color-2: #B4EFBF;
--color-3: #FFC8C3;
--color-4: #F3E5B0;
--color-5: #8DCBA9;
--color-bg: #E4F8E7;
--color-surface: #F1FDF3;
--color-border: #C9E0CD;
--color-text: #1C5A3E;
--color-muted: #5A7566;
--color-primary: #5C9878;
--color-on-primary: #000000;
--color-accent: #B07D79;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03140A;
--color-surface: #0B1E14;
--color-border: #1C3427;
--color-text: #E4F8E7;
--color-muted: #7C8E7F;
--color-primary: #8DCBA9;
--color-on-primary: #03140A;
--color-accent: #FFC8C3;
--color-on-accent: #03140A;
}
}
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 #8DCBA9 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #8DCBA9 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #8DCBA9 | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #8DCBA9 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,31:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,78:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,53:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,22:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,06:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,04:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,12:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 17,03:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,60:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,44:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 10,15:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 12,90:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 10,15:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 12,90: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 | #E4F8E7 (Text 1) | #B4EFBF (Text 2) | #FFC8C3 (Text 3) | #F3E5B0 (Text 4) | #8DCBA9 (Text 5) |
|---|---|---|---|---|---|
| #E4F8E7 | Gleiche Farbe | 1,18— | 1,32— | 1,13— | 1,68— |
| #B4EFBF | 1,18— | Gleiche Farbe | 1,12— | 1,04— | 1,43— |
| #FFC8C3 | 1,32— | 1,12— | Gleiche Farbe | 1,16— | 1,27— |
| #F3E5B0 | 1,13— | 1,04— | 1,16— | Gleiche Farbe | 1,48— |
| #8DCBA9 | 1,68— | 1,43— | 1,27— | 1,48— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
