HEX to RGB: #00FA9A

Also known as: CSS mediumspringgreen

Result

#00FA9A → rgb(0 250 154)

Values are shown at full precision, so converting back gives exactly #00fa9a. The rounded form is what you normally paste into CSS.

Step-by-step math

Every number below is computed from the input, nothing is looked up.

  1. 1. HEX → pairs

    #00FA9A → 00 | FA | 9A
  2. 2. base 16 → base 10

    R = 00₁₆ = 0×16 + 0 = 0
    G = FA₁₆ = 15×16 + 10 = 250
    B = 9A₁₆ = 9×16 + 10 = 154
  3. 3. RGB

    rgb(0 250 154)

All formats

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 and Display P3

#00FA9A is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.207 and Display P3 reaches 0.268; this color uses 100% of the sRGB chroma available.

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); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

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

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?