HEX in HSL: #ECFCCB
Auch bekannt als: Tailwind v3 lime-100
Ergebnis
#ECFCCB → hsl(80 89% 89%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #ecfccb. 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.9882 B = 0.7961
2. max, min, Δ
max = 0.9882 min = 0.7961 Δ = max − min = 0.1922
3. L
L = (max + min) / 2 = 0.8922 = 89.22%
4. S
S = Δ / (1 − |2L − 1|) = 0.8909 = 89.09%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.7961 − 0.9255) / 0.1922 + 2) = 79.59°
6. HSL
hsl(79.59 89.09% 89.22%)
Alle Formate
- HEX
- #ecfccb
- RGB
- rgb(236 252 203)
- RGB (legacy)
- rgb(236, 252, 203)
- HSL
- hsl(79.59 89.09% 89.22%) → hsl(80 89% 89%)
- HWB
- hwb(80 80% 1%)
- OKLCH
- oklch(0.967 0.066 122.3) · oklch(96.7% 0.066 122.3)
- OKLab
- oklab(0.967 -0.035 0.056)
- Lab (D50)
- lab(96.85 -11.53 21.71)
- LCH (D50)
- lch(96.85 24.59 117.97)
- Display P3
- color(display-p3 0.9370 0.9862 0.8144)
- Linear sRGB
- color(srgb-linear 0.8388 0.9734 0.5972)
Gamut: sRGB und Display P3
#ECFCCB 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.094, Display P3 von 0.101; diese Farbe nutzt 70 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #ecfccb;
color: rgb(236 252 203);
color: hsl(80 89% 89%);
color: oklch(0.967 0.066 122.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.967 0.066 122.3);
}
/* arbitrary values */
class="text-[#ecfccb] bg-[oklch(0.967_0.066_122.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9370 0.9862 0.8144); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ecfccb calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- lime-100#ECFCCA
- lightgoldenrodyellow#FAFAD2
- v3 yellow-100#FEF9C3
- yellow-100#FEF9C2
- lemonchiffon#FFFACD
- amber-100#FEF3C6
- v3 amber-100#FEF3C7
- beige#F5F5DC
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #F7FFD6 · oklch(1.000 0.066 122.3) · ΔL +0.06
- #D8E8B8 · oklch(0.907 0.066 122.3) · ΔL −0.06