HEX to RGB: #032E15
Also known as: Tailwind green-950
Result
#032E15 → rgb(3 46 21)
Values are shown at full precision, so converting back gives exactly #032e15. 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
#032E15 → 03 | 2E | 15
2. base 16 → base 10
R = 03₁₆ = 0×16 + 3 = 3 G = 2E₁₆ = 2×16 + 14 = 46 B = 15₁₆ = 1×16 + 5 = 21
3. RGB
rgb(3 46 21)
All formats
- HEX
- #032e15
- RGB
- rgb(3 46 21)
- RGB (legacy)
- rgb(3, 46, 21)
- HSL
- hsl(145.12 87.76% 9.61%) → hsl(145 88% 10%)
- HWB
- hwb(145 1% 82%)
- OKLCH
- oklch(0.265 0.065 152.8) · oklch(26.5% 0.065 152.8)
- OKLab
- oklab(0.265 -0.058 0.030)
- Lab (D50)
- lab(15.61 -20.43 11.82)
- LCH (D50)
- lch(15.61 23.60 149.93)
- Display P3
- color(display-p3 0.0666 0.1772 0.0920)
- Linear sRGB
- color(srgb-linear 0.0009 0.0273 0.0075)
Gamut: sRGB and Display P3
#032E15 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.069 and Display P3 reaches 0.095; this color uses 95% of the sRGB chroma available.
CSS snippets
.element {
color: #032e15;
color: rgb(3 46 21);
color: hsl(145 88% 10%);
color: oklch(0.265 0.065 152.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.265 0.065 152.8);
}
/* arbitrary values */
class="text-[#032e15] bg-[oklch(0.265_0.065_152.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.0666 0.1772 0.0920); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #032e15 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 green-950#052E16
- emerald-950#002C22
- v3 emerald-950#022C22
- v3 lime-950#1A2E05
- lime-950#192E03
- teal-950#022F2E
- v3 teal-950#042F2E
- olive-800#2B2B22
Lighter and darker, same hue and chroma
- #153E24 · oklch(0.325 0.065 152.8) · ΔL +0.06
- #001F07 · oklch(0.205 0.065 152.8) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?