In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Sunflower — colorset.net */
:root {
--color-1: #FFD700;
--color-2: #FFE135;
--color-3: #FFEF00;
--color-4: #FFF44F;
--color-5: #FFFF99;
--color-bg: #F8F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D6C4;
--color-text: #5E4E00;
--color-muted: #726B51;
--color-primary: #958B00;
--color-on-primary: #000000;
--color-accent: #8C7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #342E15;
--color-text: #FAFBD5;
--color-muted: #8D8E72;
--color-primary: #FFEF00;
--color-on-primary: #140F00;
--color-accent: #FFFF99;
--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 | für Kontrast angepasst · aus #FFFF99 | für Kontrast angepasst · aus #FFD700 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #FFD700 | für Kontrast angepasst · aus #FFFF99 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #FFD700 | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #FFD700 | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,64:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,04:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,98:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,97:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,51:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,28:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,21:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,05:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,57:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,69:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 16,03:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 18,23:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 16,03:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 18,23: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) | #FFE135 (Text 2) | #FFEF00 (Text 3) | #FFF44F (Text 4) | #FFFF99 (Text 5) |
|---|---|---|---|---|---|
| #FFD700 | Gleiche Farbe | 1,07— | 1,18— | 1,22— | 1,34— |
| #FFE135 | 1,07— | Gleiche Farbe | 1,09— | 1,14— | 1,25— |
| #FFEF00 | 1,18— | 1,09— | Gleiche Farbe | 1,04— | 1,14— |
| #FFF44F | 1,22— | 1,14— | 1,04— | Gleiche Farbe | 1,09— |
| #FFFF99 | 1,34— | 1,25— | 1,14— | 1,09— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
