HEX in HSL: #ECFDF5
Auch bekannt als: Tailwind emerald-50, Tailwind v3 emerald-50
Ergebnis
#ECFDF5 → hsl(152 81% 96%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #ecfdf5. 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.9255 G = 0.9922 B = 0.9608
2. max, min, Δ
max = 0.9922 min = 0.9255 Δ = max − min = 0.0667
3. L
L = (max + min) / 2 = 0.9588 = 95.88%
4. S
S = Δ / (1 − |2L − 1|) = 0.8095 = 80.95%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.9608 − 0.9255) / 0.0667 + 2) = 151.76°
6. HSL
hsl(151.76 80.95% 95.88%)
Alle Formate
- HEX
- #ecfdf5
- RGB
- rgb(236 253 245)
- RGB (legacy)
- rgb(236, 253, 245)
- HSL
- hsl(151.76 80.95% 95.88%) → hsl(152 81% 96%)
- HWB
- hwb(152 93% 1%)
- OKLCH
- oklch(0.979 0.021 166.1) · oklch(97.9% 0.021 166.1)
- OKLab
- oklab(0.979 -0.020 0.005)
- Lab (D50)
- lab(97.88 -6.84 1.83)
- LCH (D50)
- lch(97.88 7.08 165.06)
- Display P3
- color(display-p3 0.9378 0.9900 0.9625)
- Linear sRGB
- color(srgb-linear 0.8388 0.9823 0.9131)
Gamut: sRGB und Display P3
#ECFDF5 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.029, Display P3 von 0.033; diese Farbe nutzt 71 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #ecfdf5;
color: rgb(236 253 245);
color: hsl(152 81% 96%);
color: oklch(0.979 0.021 166.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.979 0.021 166.1);
}
/* arbitrary values */
class="text-[#ecfdf5] bg-[oklch(0.979_0.021_166.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9378 0.9900 0.9625); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ecfdf5 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- green-50#F0FDF4
- teal-50#F0FDFA
- honeydew#F0FFF0
- cyan-50#ECFEFF
- azure#F0FFFF
- mintcream#F5FFFA
- lightcyan#E0FFFF
- mist-50#F9FBFB
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #F3FFFC · oklch(1.000 0.021 166.1) · ΔL +0.06
- #D8E9E1 · oklch(0.919 0.021 166.1) · ΔL −0.06