HEX in HSL: #FEFCE8
Auch bekannt als: Tailwind yellow-50, Tailwind v3 yellow-50
Ergebnis
#FEFCE8 → hsl(55 92% 95%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #fefce8. Die gerundete Form fügst du üblicherweise in CSS ein.
Rechenweg Schritt für Schritt
Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.
1. RGB ÷ 255
R = 0.9961 G = 0.9882 B = 0.9098
2. max, min, Δ
max = 0.9961 min = 0.9098 Δ = max − min = 0.0863
3. L
L = (max + min) / 2 = 0.9529 = 95.29%
4. S
S = Δ / (1 − |2L − 1|) = 0.9167 = 91.67%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9882 − 0.9098) / 0.0863) mod 6) = 54.55°
6. HSL
hsl(54.55 91.67% 95.29%)
Alle Formate
- HEX
- #fefce8
- RGB
- rgb(254 252 232)
- RGB (legacy)
- rgb(254, 252, 232)
- HSL
- hsl(54.55 91.67% 95.29%) → hsl(55 92% 95%)
- HWB
- hwb(55 91% 0%)
- OKLCH
- oklch(0.987 0.026 102.2) · oklch(98.7% 0.026 102.2)
- OKLab
- oklab(0.987 -0.006 0.026)
- Lab (D50)
- lab(98.72 -1.81 9.87)
- LCH (D50)
- lch(98.72 10.03 100.37)
- Display P3
- color(display-p3 0.9947 0.9885 0.9173)
- Linear sRGB
- color(srgb-linear 0.9911 0.9734 0.8070)
Gamut: sRGB und Display P3
#FEFCE8 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.034, Display P3 von 0.038; diese Farbe nutzt 77 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #fefce8;
color: rgb(254 252 232);
color: hsl(55 92% 95%);
color: oklch(0.987 0.026 102.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.987 0.026 102.2);
}
/* arbitrary values */
class="text-[#fefce8] bg-[oklch(0.987_0.026_102.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9947 0.9885 0.9173); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fefce8 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- amber-50#FFFBEB
- lime-50#F7FEE7
- ivory#FFFFF0
- floralwhite#FFFAF0
- lightyellow#FFFFE0
- cornsilk#FFF8DC
- orange-50#FFF7ED
- oldlace#FDF5E6
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FFFFEC · oklch(1.000 0.026 102.2) · ΔL +0.06
- #EAE8D4 · oklch(0.927 0.026 102.2) · ΔL −0.06