HEX in HSL: #65A30D
Auch bekannt als: Tailwind v3 lime-600
Ergebnis
#65A30D → hsl(85 85% 35%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #65a30d. 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.3961 G = 0.6392 B = 0.0510
2. max, min, Δ
max = 0.6392 min = 0.0510 Δ = max − min = 0.5882
3. L
L = (max + min) / 2 = 0.3451 = 34.51%
4. S
S = Δ / (1 − |2L − 1|) = 0.8523 = 85.23%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.0510 − 0.3961) / 0.5882 + 2) = 84.80°
6. HSL
hsl(84.80 85.23% 34.51%)
Alle Formate
- HEX
- #65a30d
- RGB
- rgb(101 163 13)
- RGB (legacy)
- rgb(101, 163, 13)
- HSL
- hsl(84.80 85.23% 34.51%) → hsl(85 85% 35%)
- HWB
- hwb(85 5% 36%)
- OKLCH
- oklch(0.648 0.175 131.7) · oklch(64.8% 0.175 131.7)
- OKLab
- oklab(0.648 -0.117 0.131)
- Lab (D50)
- lab(60.94 -36.45 59.58)
- LCH (D50)
- lch(60.94 69.85 121.46)
- Display P3
- color(display-p3 0.4517 0.6330 0.1977)
- Linear sRGB
- color(srgb-linear 0.1301 0.3663 0.0040)
Gamut: sRGB und Display P3
#65A30D 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.179, Display P3 von 0.210; diese Farbe nutzt 98 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #65a30d;
color: rgb(101 163 13);
color: hsl(85 85% 35%);
color: oklch(0.648 0.175 131.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.648 0.175 131.7);
}
/* arbitrary values */
class="text-[#65a30d] bg-[oklch(0.648_0.175_131.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4517 0.6330 0.1977); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #65a30d calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- lime-600#5EA500
- green-600#00A63E
- v3 green-600#16A34A
- olivedrab#6B8E23
- mediumseagreen#3CB371
- v3 green-500#22C55E
- forestgreen#228B22
- emerald-600#009966
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #77B62E · oklch(0.708 0.175 131.7) · ΔL +0.06
- #539000 · oklch(0.588 0.175 131.7) · ΔL −0.06