RGB to HEX: #46ECD5

Also known as: Tailwind teal-300

Result

rgb(70 236 213) → #46ECD5

Values are shown at full precision, so converting back gives exactly #46ecd5. 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. base 10 → base 16

    R = 70 = 4×16 + 6 → 46
    G = 236 = 14×16 + 12 → EC
    B = 213 = 13×16 + 5 → D5
  2. 2. pairs → HEX

    46 EC D5 → #46ECD5

All formats

HEX
#46ecd5
RGB
rgb(70 236 213)
RGB (legacy)
rgb(70, 236, 213)
HSL
hsl(171.69 81.37% 60.00%) → hsl(172 81% 60%)
HWB
hwb(172 27% 7%)
OKLCH
oklch(0.854 0.137 181.6) · oklch(85.4% 0.137 181.6)
OKLab
oklab(0.854 -0.137 -0.004)
Lab (D50)
lab(84.76 -47.91 -1.78)
LCH (D50)
lch(84.76 47.95 182.12)
Display P3
color(display-p3 0.4837 0.9128 0.8365)
Linear sRGB
color(srgb-linear 0.0612 0.8388 0.6654)

Gamut: sRGB and Display P3

#46ECD5 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.153 and Display P3 reaches 0.208; this color uses 90% of the sRGB chroma available.

CSS snippets

.element {
  color: #46ecd5;
  color: rgb(70 236 213);
  color: hsl(172 81% 60%);
  color: oklch(0.854 0.137 181.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.854 0.137 181.6);
}
/* arbitrary values */
class="text-[#46ecd5] bg-[oklch(0.854_0.137_181.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.4837 0.9128 0.8365); }
}

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

  • #60FFE9 · oklch(0.914 0.137 181.6) · ΔL +0.06
  • #23D8C2 · oklch(0.794 0.137 181.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?