HEX to RGB: #7C6D67

Also known as: Tailwind taupe-500

Result

#7C6D67 → rgb(124 109 103)

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

    #7C6D67 → 7C | 6D | 67
  2. 2. base 16 → base 10

    R = 7C₁₆ = 7×16 + 12 = 124
    G = 6D₁₆ = 6×16 + 13 = 109
    B = 67₁₆ = 6×16 + 7 = 103
  3. 3. RGB

    rgb(124 109 103)

All formats

HEX
#7c6d67
RGB
rgb(124 109 103)
RGB (legacy)
rgb(124, 109, 103)
HSL
hsl(17.14 9.25% 44.51%) → hsl(17 9% 45%)
HWB
hwb(17 40% 51%)
OKLCH
oklch(0.547 0.021 43.1) · oklch(54.7% 0.021 43.1)
OKLab
oklab(0.547 0.015 0.014)
Lab (D50)
lab(47.33 5.30 5.64)
LCH (D50)
lch(47.33 7.73 46.79)
Display P3
color(display-p3 0.4765 0.4296 0.4073)
Linear sRGB
color(srgb-linear 0.2016 0.1529 0.1356)

Gamut: sRGB and Display P3

#7C6D67 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.162 and Display P3 reaches 0.183; this color uses 13% of the sRGB chroma available.

CSS snippets

.element {
  color: #7c6d67;
  color: rgb(124 109 103);
  color: hsl(17 9% 45%);
  color: oklch(0.547 0.021 43.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.547 0.021 43.1);
}
/* arbitrary values */
class="text-[#7c6d67] bg-[oklch(0.547_0.021_43.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.4765 0.4296 0.4073); }
}

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

  • #8E7F78 · oklch(0.607 0.021 43.1) · ΔL +0.06
  • #6B5C56 · oklch(0.487 0.021 43.1) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?