HEX naar HSL: #5EEAD4

Ook bekend als: Tailwind v3 teal-300

Resultaat

#5EEAD4 → hsl(171 77% 64%)

Waarden staan op volle precisie, dus terugrekenen geeft exact #5eead4. De afgeronde vorm plak je gewoonlijk in CSS.

Stap-voor-stap berekening

Elk getal wordt uit de invoer berekend, er wordt niets opgezocht.

  1. 1. RGB ÷ 255

    R = 0.3686
    G = 0.9176
    B = 0.8314
  2. 2. max, min, Δ

    max = 0.9176
    min = 0.3686
    Δ = max − min = 0.5490
  3. 3. L

    L = (max + min) / 2 = 0.6431 = 64.31%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.7692 = 76.92%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.8314 − 0.3686) / 0.5490 + 2) = 170.57°
  6. 6. HSL

    hsl(170.57 76.92% 64.31%)

Alle formaten

HEX
#5eead4
RGB
rgb(94 234 212)
RGB (legacy)
rgb(94, 234, 212)
HSL
hsl(170.57 76.92% 64.31%) → hsl(171 77% 64%)
HWB
hwb(171 37% 8%)
OKLCH
oklch(0.855 0.125 181.1) · oklch(85.5% 0.125 181.1)
OKLab
oklab(0.855 -0.125 -0.002)
Lab (D50)
lab(84.72 -43.50 -1.22)
LCH (D50)
lch(84.72 43.52 181.60)
Display P3
color(display-p3 0.5252 0.9059 0.8328)
Linear sRGB
color(srgb-linear 0.1119 0.8228 0.6584)

Gamut: sRGB en Display P3

#5EEAD4 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.154 en Display P3 van 0.209; deze kleur gebruikt 81% van de beschikbare sRGB-chroma.

CSS-snippets

.element {
  color: #5eead4;
  color: rgb(94 234 212);
  color: hsl(171 77% 64%);
  color: oklch(0.855 0.125 181.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.855 0.125 181.1);
}
/* arbitrary values */
class="text-[#5eead4] bg-[oklch(0.855_0.125_181.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.5252 0.9059 0.8328); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #5eead4 calc(l - 0.1) c h); }

Kleuren in de buurt

Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).

Lichter en donkerder, dezelfde tint en chroma

  • #75FEE8 · oklch(0.915 0.125 181.1) · ΔL +0.06
  • #46D6C1 · oklch(0.795 0.125 181.1) · ΔL −0.06

Openen in de studio

Andere converters voor deze kleur

Alle converters →