Add to Chrome

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

9 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.

Pine color values

#2E4A3Drgb(46, 74, 61)
Color spaces of #2e4a3d
RGB467461
HSL152°23%24%
HSV152°38%29%
CMYK0.380.000.180.71
XYZ4.41755.81515.3036
Yxy5.81510.28430.3743
CIE-Lab28.9410-13.94194.4434
Hunter Lab24.1145-9.50123.8402
OKLCH38.2%0.041163.7°

#2E4A3D is 46 red, 74 green and 61 blue. Its green channel carries the most of it. The nearest of the 216 web safe colors is #333333.

CIE-Lab, XYZ and Yxy are measured against D65, the white point sRGB itself is defined against. Hunter Lab uses the original illuminant C constants, which is what paint and plastics specifications quote, so the two Lab rows are not directly comparable. CMYK is the plain arithmetic conversion: real ink values depend on the press, the paper and the profile.

Base numbers
BaseRedGreenBlue
Binary001011100100101000111101
Octal5611275
Decimal467461
Hex2E4A3D

#2e4a3d mixed with black

Ten even steps of the classic shade ramp, worked out in RGB, which is how the term has always been defined and how other references list it. The OKLCH scale further down this page answers a different question: it steps by equal perceived amounts, so its values are not the same.

  • #2E4A3D
  • #294236
  • #243B30
  • #20332A
  • #1B2C24
  • #17251E
  • #121D18
  • #0D1612
  • #090E0C
  • #040706
  • #000000

#2e4a3d mixed with white

The tint ramp, by the same rule in the other direction.

  • #2E4A3D
  • #425C50
  • #576E63
  • #6C8077
  • #81928A
  • #96A49E
  • #ABB6B1
  • #C0C8C4
  • #D5DAD8
  • #EAECEB
  • #FFFFFF

Channel shares

  • Red25.4%
  • Green40.9%
  • Blue33.7%

Color schemes

Turned in OKLCH rather than HSL, so every member keeps the lightness and chroma of the original instead of one of them arriving washed out.

Complementary

  • #2E4A3D
  • #533A48

Triadic

  • #2E4A3D
  • #404058
  • #563C31

Analogous

  • #2E4A3D
  • #274A49
  • #3A4832

Monochromatic

  • #000100
  • #000E06
  • #0F2B1F
  • #2E4A3D
  • #4E6C5E
  • #718F80
  • #95B4A5

#2e4a3d on black and on white

The quick brown fox jumps over the lazy dog. 2.16:1

The quick brown fox jumps over the lazy dog. 9.71:1

Body text needs 4.5:1 to meet AA and large text needs 3:1, so a ratio tells you which of the two backgrounds this color can be read on, and at what size.

CSS for #2e4a3d

color: #2e4a3d;
background-color: #2e4a3d;
border: 3px solid #2e4a3d;
box-shadow: 1px 1px 3px 2px #2e4a3d;
text-shadow: 4px 4px 2px rgba(46, 74, 61, 0.8);

/* Perceptually even, and what a modern stylesheet wants */
color: oklch(38.2% 0.041 163.7);

The OKLCH form is the same color stated so that lightening or darkening it moves by an amount the eye agrees with. Every current browser understands 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.

Get Palette Vault from the Microsoft Store