HEX to RGB: #451A03
Also known as: Tailwind v3 amber-950
Result
#451A03 → rgb(69 26 3)
Values are shown at full precision, so converting back gives exactly #451a03. 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. HEX → pairs
#451A03 → 45 | 1A | 03
2. base 16 → base 10
R = 45₁₆ = 4×16 + 5 = 69 G = 1A₁₆ = 1×16 + 10 = 26 B = 03₁₆ = 0×16 + 3 = 3
3. RGB
rgb(69 26 3)
All formats
- HEX
- #451a03
- RGB
- rgb(69 26 3)
- RGB (legacy)
- rgb(69, 26, 3)
- HSL
- hsl(20.91 91.67% 14.12%) → hsl(21 92% 14%)
- HWB
- hwb(21 1% 73%)
- OKLCH
- oklch(0.279 0.074 45.6) · oklch(27.9% 0.074 45.6)
- OKLab
- oklab(0.279 0.052 0.053)
- Lab (D50)
- lab(15.85 20.07 22.65)
- LCH (D50)
- lch(15.85 30.26 48.45)
- Display P3
- color(display-p3 0.2498 0.1119 0.0335)
- Linear sRGB
- color(srgb-linear 0.0595 0.0103 0.0009)
Gamut: sRGB and Display P3
#451A03 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.079 and Display P3 reaches 0.090; this color uses 94% of the sRGB chroma available.
CSS snippets
.element {
color: #451a03;
color: rgb(69 26 3);
color: hsl(21 92% 14%);
color: oklch(0.279 0.074 45.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.279 0.074 45.6);
}
/* arbitrary values */
class="text-[#451a03] bg-[oklch(0.279_0.074_45.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2498 0.1119 0.0335); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #451a03 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- amber-950#461901
- v3 yellow-950#422006
- yellow-950#432004
- v3 orange-950#431407
- orange-950#441306
- v3 red-950#450A0A
- red-950#460809
- v3 rose-950#4C0519
Lighter and darker, same hue and chroma
- #562A13 · oklch(0.339 0.074 45.6) · ΔL +0.06
- #340A00 · oklch(0.219 0.074 45.6) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?