In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Sunburst Yellow — colorset.net */
:root {
--color-1: #F7B731;
--color-2: #FDC830;
--color-3: #FFD662;
--color-4: #FFE066;
--color-5: #FFEB3B;
--color-bg: #F9F8E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #684900;
--color-muted: #776951;
--color-primary: #9A6E00;
--color-on-primary: #FFFFFF;
--color-accent: #A78400;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170D00;
--color-surface: #221805;
--color-border: #382C15;
--color-text: #EDE9C3;
--color-muted: #878469;
--color-primary: #F7B731;
--color-on-primary: #170D00;
--color-accent: #FFEB3B;
--color-on-accent: #170D00;
}
}
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 #FFE066 | für Kontrast angepasst · aus #F7B731 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #F7B731 | für Kontrast angepasst · aus #FFE066 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #F7B731 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #F7B731 | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,72:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,08:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,56:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,94:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,26:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,30:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,58:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,19:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,06:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 10,76:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 15,72:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 10,76:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 15,72: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 | #F7B731 (Text 1) | #FDC830 (Text 2) | #FFD662 (Text 3) | #FFE066 (Text 4) | #FFEB3B (Text 5) |
|---|---|---|---|---|---|
| #F7B731 | Gleiche Farbe | 1,15— | 1,28— | 1,37— | 1,46— |
| #FDC830 | 1,15— | Gleiche Farbe | 1,12— | 1,19— | 1,28— |
| #FFD662 | 1,28— | 1,12— | Gleiche Farbe | 1,07— | 1,14— |
| #FFE066 | 1,37— | 1,19— | 1,07— | Gleiche Farbe | 1,07— |
| #FFEB3B | 1,46— | 1,28— | 1,14— | 1,07— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
