HEX in HSL: #10B981
Auch bekannt als: Tailwind v3 emerald-500
Ergebnis
#10B981 → hsl(160 84% 39%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #10b981. 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.0627 G = 0.7255 B = 0.5059
2. max, min, Δ
max = 0.7255 min = 0.0627 Δ = max − min = 0.6627
3. L
L = (max + min) / 2 = 0.3941 = 39.41%
4. S
S = Δ / (1 − |2L − 1|) = 0.8408 = 84.08%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.5059 − 0.0627) / 0.6627 + 2) = 160.12°
6. HSL
hsl(160.12 84.08% 39.41%)
Alle Formate
- HEX
- #10b981
- RGB
- rgb(16 185 129)
- RGB (legacy)
- rgb(16, 185, 129)
- HSL
- hsl(160.12 84.08% 39.41%) → hsl(160 84% 39%)
- HWB
- hwb(160 6% 27%)
- OKLCH
- oklch(0.696 0.149 162.5) · oklch(69.6% 0.149 162.5)
- OKLab
- oklab(0.696 -0.142 0.045)
- Lab (D50)
- lab(66.69 -50.67 17.06)
- LCH (D50)
- lch(66.69 53.46 161.39)
- Display P3
- color(display-p3 0.3325 0.7147 0.5221)
- Linear sRGB
- color(srgb-linear 0.0052 0.4851 0.2195)
Gamut: sRGB und Display P3
#10B981 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.152, Display P3 von 0.208; diese Farbe nutzt 98 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #10b981;
color: rgb(16 185 129);
color: hsl(160 84% 39%);
color: oklch(0.696 0.149 162.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.696 0.149 162.5);
}
/* arbitrary values */
class="text-[#10b981] bg-[oklch(0.696_0.149_162.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3325 0.7147 0.5221); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #10b981 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- emerald-500#00BC7D
- mediumseagreen#3CB371
- teal-500#00BBA7
- v3 teal-500#14B8A6
- v3 green-500#22C55E
- lightseagreen#20B2AA
- emerald-400#00D492
- v3 emerald-400#34D399
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #37CD93 · oklch(0.756 0.149 162.5) · ΔL +0.06
- #00A66F · oklch(0.636 0.149 162.5) · ΔL −0.06