Pine color: hex codes, shades and palettes

Palettes built around pine. Click any swatch to copy its hex code.

A very dark blue-leaning green. Reads as almost black in small amounts, which makes it a good alternative to charcoal in a natural palette.

Pine hex, RGB, HSL and OKLCH

#2E4A3D
HEX
#2E4A3D
RGB
rgb(46, 74, 61)
HSL
hsl(152, 23%, 24%)
OKLCH
oklch(38.2% 0.041 163.7)
On white
9.71:1
On black
2.16:1

Shades of pine

Eleven steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.

Contrast and readability

Pine on white measures 9.71:1 and on black 2.16:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.19:1.

The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.

Related colors:sage, forest green, moss, juniper. See every shade on the colors index.