HEX to RGB: #432004

Also known as: Tailwind yellow-950

Result

#432004 → rgb(67 32 4)

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

    #432004 → 43 | 20 | 04
  2. 2. base 16 → base 10

    R = 43₁₆ = 4×16 + 3 = 67
    G = 20₁₆ = 2×16 + 0 = 32
    B = 04₁₆ = 0×16 + 4 = 4
  3. 3. RGB

    rgb(67 32 4)

All formats

HEX
#432004
RGB
rgb(67 32 4)
RGB (legacy)
rgb(67, 32, 4)
HSL
hsl(26.67 88.73% 13.92%) → hsl(27 89% 14%)
HWB
hwb(27 2% 74%)
OKLCH
oklch(0.287 0.066 54.6) · oklch(28.7% 0.066 54.6)
OKLab
oklab(0.287 0.038 0.054)
Lab (D50)
lab(16.95 15.61 23.46)
LCH (D50)
lch(16.95 28.18 56.37)
Display P3
color(display-p3 0.2446 0.1325 0.0402)
Linear sRGB
color(srgb-linear 0.0561 0.0144 0.0012)

Gamut: sRGB and Display P3

#432004 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.071 and Display P3 reaches 0.081; this color uses 93% of the sRGB chroma available.

CSS snippets

.element {
  color: #432004;
  color: rgb(67 32 4);
  color: hsl(27 89% 14%);
  color: oklch(0.287 0.066 54.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.287 0.066 54.6);
}
/* arbitrary values */
class="text-[#432004] bg-[oklch(0.287_0.066_54.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2446 0.1325 0.0402); }
}

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

  • #542F15 · oklch(0.347 0.066 54.6) · ΔL +0.06
  • #331100 · oklch(0.227 0.066 54.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?