HEX naar HSL: #5EE9B5
Ook bekend als: Tailwind emerald-300
Resultaat
#5EE9B5 → hsl(158 76% 64%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #5ee9b5. 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.3686 G = 0.9137 B = 0.7098
2. max, min, Δ
max = 0.9137 min = 0.3686 Δ = max − min = 0.5451
3. L
L = (max + min) / 2 = 0.6412 = 64.12%
4. S
S = Δ / (1 − |2L − 1|) = 0.7596 = 75.96%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.7098 − 0.3686) / 0.5451 + 2) = 157.55°
6. HSL
hsl(157.55 75.96% 64.12%)
Alle formaten
- HEX
- #5ee9b5
- RGB
- rgb(94 233 181)
- RGB (legacy)
- rgb(94, 233, 181)
- HSL
- hsl(157.55 75.96% 64.12%) → hsl(158 76% 64%)
- HWB
- hwb(158 37% 9%)
- OKLCH
- oklch(0.844 0.143 165.2) · oklch(84.4% 0.143 165.2)
- OKLab
- oklab(0.844 -0.138 0.036)
- Lab (D50)
- lab(83.81 -48.60 13.60)
- LCH (D50)
- lch(83.81 50.47 164.37)
- Display P3
- color(display-p3 0.5238 0.9021 0.7231)
- Linear sRGB
- color(srgb-linear 0.1119 0.8148 0.4621)
Gamut: sRGB en Display P3
#5EE9B5 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.177 en Display P3 van 0.242; deze kleur gebruikt 81% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #5ee9b5;
color: rgb(94 233 181);
color: hsl(158 76% 64%);
color: oklch(0.844 0.143 165.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.844 0.143 165.2);
}
/* arbitrary values */
class="text-[#5ee9b5] bg-[oklch(0.844_0.143_165.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5238 0.9021 0.7231); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #5ee9b5 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- v3 emerald-300#6EE7B7
- v3 green-300#86EFAC
- green-300#7BF1A8
- teal-300#46ECD5
- v3 teal-300#5EEAD4
- turquoise#40E0D0
- lightgreen#90EE90
- v3 green-400#4ADE80
Lichter en donkerder, dezelfde tint en chroma
- #74FDC8 · oklch(0.904 0.143 165.2) · ΔL +0.06
- #46D5A2 · oklch(0.784 0.143 165.2) · ΔL −0.06