HEX naar HSL: #00FA9A

Ook bekend als: CSS mediumspringgreen

Resultaat

#00FA9A → hsl(157 100% 49%)

Waarden staan op volle precisie, dus terugrekenen geeft exact #00fa9a. 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.0000
    G = 0.9804
    B = 0.6039
  2. 2. max, min, Δ

    max = 0.9804
    min = 0.0000
    Δ = max − min = 0.9804
  3. 3. L

    L = (max + min) / 2 = 0.4902 = 49.02%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.6039 − 0.0000) / 0.9804 + 2) = 156.96°
  6. 6. HSL

    hsl(156.96 100.00% 49.02%)

Alle formaten

HEX
#00fa9a
RGB
rgb(0 250 154)
RGB (legacy)
rgb(0, 250, 154)
HSL
hsl(156.96 100.00% 49.02%) → hsl(157 100% 49%)
HWB
hwb(157 0% 2%)
OKLCH
oklch(0.867 0.207 156.9) · oklch(86.7% 0.207 156.9)
OKLab
oklab(0.867 -0.190 0.081)
Lab (D50)
lab(87.24 -67.66 31.60)
LCH (D50)
lch(87.24 74.68 154.96)
Display P3
color(display-p3 0.4489 0.9659 0.6370)
Linear sRGB
color(srgb-linear 0.0000 0.9560 0.3231)

Gamut: sRGB en Display P3

#00FA9A is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.207 en Display P3 van 0.268; deze kleur gebruikt 100% van de beschikbare sRGB-chroma.

CSS-snippets

.element {
  color: #00fa9a;
  color: rgb(0 250 154);
  color: hsl(157 100% 49%);
  color: oklch(0.867 0.207 156.9);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.867 0.207 156.9);
}
/* arbitrary values */
class="text-[#00fa9a] bg-[oklch(0.867_0.207_156.9)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.4489 0.9659 0.6370); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00fa9a 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

  • #3EFFAD · oklch(0.927 0.207 156.9) · ΔL +0.06
  • #00E687 · oklch(0.807 0.207 156.9) · ΔL −0.06

Openen in de studio

Andere converters voor deze kleur

Alle converters →