HEX naar HSL: #A3E635
Ook bekend als: Tailwind v3 lime-400
Resultaat
#A3E635 → hsl(83 78% 55%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #a3e635. De afgeronde vorm plak je gewoonlijk in CSS.
Stap-voor-stap berekening
Elk getal wordt uit de invoer berekend, er wordt niets opgezocht.
1. RGB ÷ 255
R = 0.6392 G = 0.9020 B = 0.2078
2. max, min, Δ
max = 0.9020 min = 0.2078 Δ = max − min = 0.6941
3. L
L = (max + min) / 2 = 0.5549 = 55.49%
4. S
S = Δ / (1 − |2L − 1|) = 0.7797 = 77.97%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.2078 − 0.6392) / 0.6941 + 2) = 82.71°
6. HSL
hsl(82.71 77.97% 55.49%)
Alle formaten
- HEX
- #a3e635
- RGB
- rgb(163 230 53)
- RGB (legacy)
- rgb(163, 230, 53)
- HSL
- hsl(82.71 77.97% 55.49%) → hsl(83 78% 55%)
- HWB
- hwb(83 21% 10%)
- OKLCH
- oklch(0.849 0.207 128.8) · oklch(84.9% 0.207 128.8)
- OKLab
- oklab(0.849 -0.130 0.161)
- Lab (D50)
- lab(84.53 -39.95 71.99)
- LCH (D50)
- lch(84.53 82.33 119.03)
- Display P3
- color(display-p3 0.6956 0.8948 0.3423)
- Linear sRGB
- color(srgb-linear 0.3663 0.7913 0.0356)
Gamut: sRGB en Display P3
#A3E635 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.225 en Display P3 van 0.263; deze kleur gebruikt 92% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #a3e635;
color: rgb(163 230 53);
color: hsl(83 78% 55%);
color: oklch(0.849 0.207 128.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.849 0.207 128.8);
}
/* arbitrary values */
class="text-[#a3e635] bg-[oklch(0.849_0.207_128.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6956 0.8948 0.3423); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a3e635 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- lime-400#9AE600
- lime-300#BBF451
- v3 lime-300#BEF264
- greenyellow#ADFF2F
- yellowgreen#9ACD32
- lawngreen#7CFC00
- lightgreen#90EE90
- chartreuse#7FFF00
Lichter en donkerder, dezelfde tint en chroma
- #B6FA50 · oklch(0.909 0.207 128.8) · ΔL +0.06
- #90D209 · oklch(0.789 0.207 128.8) · ΔL −0.06