HEX to RGB: #65A30D
Also known as: Tailwind v3 lime-600
Result
#65A30D → rgb(101 163 13)
Values are shown at full precision, so converting back gives exactly #65a30d. 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
#65A30D → 65 | A3 | 0D
2. base 16 → base 10
R = 65₁₆ = 6×16 + 5 = 101 G = A3₁₆ = 10×16 + 3 = 163 B = 0D₁₆ = 0×16 + 13 = 13
3. RGB
rgb(101 163 13)
All formats
- HEX
- #65a30d
- RGB
- rgb(101 163 13)
- RGB (legacy)
- rgb(101, 163, 13)
- HSL
- hsl(84.80 85.23% 34.51%) → hsl(85 85% 35%)
- HWB
- hwb(85 5% 36%)
- OKLCH
- oklch(0.648 0.175 131.7) · oklch(64.8% 0.175 131.7)
- OKLab
- oklab(0.648 -0.117 0.131)
- Lab (D50)
- lab(60.94 -36.45 59.58)
- LCH (D50)
- lch(60.94 69.85 121.46)
- Display P3
- color(display-p3 0.4517 0.6330 0.1977)
- Linear sRGB
- color(srgb-linear 0.1301 0.3663 0.0040)
Gamut: sRGB and Display P3
#65A30D is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.179 and Display P3 reaches 0.210; this color uses 98% of the sRGB chroma available.
CSS snippets
.element {
color: #65a30d;
color: rgb(101 163 13);
color: hsl(85 85% 35%);
color: oklch(0.648 0.175 131.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.648 0.175 131.7);
}
/* arbitrary values */
class="text-[#65a30d] bg-[oklch(0.648_0.175_131.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4517 0.6330 0.1977); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #65a30d calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- lime-600#5EA500
- green-600#00A63E
- v3 green-600#16A34A
- olivedrab#6B8E23
- mediumseagreen#3CB371
- v3 green-500#22C55E
- forestgreen#228B22
- emerald-600#009966
Lighter and darker, same hue and chroma
- #77B62E · oklch(0.708 0.175 131.7) · ΔL +0.06
- #539000 · oklch(0.588 0.175 131.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?