HEX to RGB: #733E0A

Also known as: Tailwind yellow-900

Result

#733E0A → rgb(115 62 10)

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

    #733E0A → 73 | 3E | 0A
  2. 2. base 16 → base 10

    R = 73₁₆ = 7×16 + 3 = 115
    G = 3E₁₆ = 3×16 + 14 = 62
    B = 0A₁₆ = 0×16 + 10 = 10
  3. 3. RGB

    rgb(115 62 10)

All formats

HEX
#733e0a
RGB
rgb(115 62 10)
RGB (legacy)
rgb(115, 62, 10)
HSL
hsl(29.71 84.00% 24.51%) → hsl(30 84% 25%)
HWB
hwb(30 4% 55%)
OKLCH
oklch(0.422 0.095 57.9) · oklch(42.2% 0.095 57.9)
OKLab
oklab(0.422 0.051 0.081)
Lab (D50)
lab(32.45 21.07 38.80)
LCH (D50)
lch(32.45 44.16 61.50)
Display P3
color(display-p3 0.4230 0.2534 0.0944)
Linear sRGB
color(srgb-linear 0.1714 0.0482 0.0030)

Gamut: sRGB and Display P3

#733E0A is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.101 and Display P3 reaches 0.115; this color uses 94% of the sRGB chroma available.

CSS snippets

.element {
  color: #733e0a;
  color: rgb(115 62 10);
  color: hsl(30 84% 25%);
  color: oklch(0.422 0.095 57.9);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.422 0.095 57.9);
}
/* arbitrary values */
class="text-[#733e0a] bg-[oklch(0.422_0.095_57.9)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.4230 0.2534 0.0944); }
}

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

  • #854F20 · oklch(0.482 0.095 57.9) · ΔL +0.06
  • #612E00 · oklch(0.362 0.095 57.9) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?