HEX to RGB: #474739

Also known as: Tailwind olive-700

Result

#474739 → rgb(71 71 57)

Values are shown at full precision, so converting back gives exactly #474739. 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

    #474739 → 47 | 47 | 39
  2. 2. base 16 → base 10

    R = 47₁₆ = 4×16 + 7 = 71
    G = 47₁₆ = 4×16 + 7 = 71
    B = 39₁₆ = 3×16 + 9 = 57
  3. 3. RGB

    rgb(71 71 57)

All formats

HEX
#474739
RGB
rgb(71 71 57)
RGB (legacy)
rgb(71, 71, 57)
HSL
hsl(60.00 10.94% 25.10%) → hsl(60 11% 25%)
HWB
hwb(60 22% 72%)
OKLCH
oklch(0.394 0.023 107.4) · oklch(39.4% 0.023 107.4)
OKLab
oklab(0.394 -0.007 0.022)
Lab (D50)
lab(29.83 -2.09 8.47)
LCH (D50)
lch(29.83 8.73 103.88)
Display P3
color(display-p3 0.2784 0.2784 0.2291)
Linear sRGB
color(srgb-linear 0.0630 0.0630 0.0409)

Gamut: sRGB and Display P3

#474739 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.085 and Display P3 reaches 0.098; this color uses 27% of the sRGB chroma available.

CSS snippets

.element {
  color: #474739;
  color: rgb(71 71 57);
  color: hsl(60 11% 25%);
  color: oklch(0.394 0.023 107.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.394 0.023 107.4);
}
/* arbitrary values */
class="text-[#474739] bg-[oklch(0.394_0.023_107.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2784 0.2784 0.2291); }
}

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

  • #575749 · oklch(0.454 0.023 107.4) · ΔL +0.06
  • #37372A · oklch(0.334 0.023 107.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?