Juniper color: hex codes, shades and palettes
Palettes built around juniper. Click any swatch to copy its hex code.
A mid green-grey with blue in it. Sits between sage and teal, and it is the green that appears in most muted "forest" palettes.
Juniper hex, RGB, HSL and OKLCH
- HEX
#4A6A5E- RGB
rgb(74, 106, 94)- HSL
hsl(158, 18%, 35%)- OKLCH
oklch(49.6% 0.042 169.3)- On white
- 5.98:1
- On black
- 3.51:1
Shades of juniper
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.
Juniper color values
| RGB | 74 | 106 | 94 | |
|---|---|---|---|---|
| HSL | 158° | 18% | 35% | |
| HSV | 158° | 30% | 42% | |
| CMYK | 0.30 | 0.00 | 0.11 | 0.58 |
| XYZ | 9.9978 | 12.5716 | 12.4873 | |
| Yxy | 12.5716 | 0.2852 | 0.3586 | |
| CIE-Lab | 42.1105 | -14.4511 | 3.0205 | |
| Hunter Lab | 35.4564 | -11.7164 | 3.9384 | |
| OKLCH | 49.6% | 0.042 | 169.3° |
#4A6A5E is 74 red, 106 green and 94 blue. Its green channel carries the most of it. The nearest of the 216 web safe colors is #336666.
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 | Red | Green | Blue |
|---|---|---|---|
| Binary | 01001010 | 01101010 | 01011110 |
| Octal | 112 | 152 | 136 |
| Decimal | 74 | 106 | 94 |
| Hex | 4A | 6A | 5E |
#4a6a5e 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.
- #4A6A5E
- #425F54
- #3B544B
- #334A41
- #2C3F38
- #25352F
- #1D2A25
- #161F1C
- #0E1512
- #070A09
- #000000
#4a6a5e mixed with white
The tint ramp, by the same rule in the other direction.
- #4A6A5E
- #5C786E
- #6E877E
- #80968E
- #92A59E
- #A4B4AE
- #B6C3BE
- #C8D2CE
- #DAE1DE
- #ECF0EE
- #FFFFFF
Channel shares
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
- #4A6A5E
- #755866
Triadic
- #4A6A5E
- #615E79
- #765B4D
Analogous
- #4A6A5E
- #456A6B
- #566851
Monochromatic
- #000C07
- #092920
- #29493D
- #4A6A5E
- #6C8D81
- #90B2A5
- #B6D9CB
#4a6a5e on black and on white
The quick brown fox jumps over the lazy dog. 3.51:1
The quick brown fox jumps over the lazy dog. 5.98: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 #4a6a5e
color: #4a6a5e;
background-color: #4a6a5e;
border: 3px solid #4a6a5e;
box-shadow: 1px 1px 3px 2px #4a6a5e;
text-shadow: 4px 4px 2px rgba(74, 106, 94, 0.8);
/* Perceptually even, and what a modern stylesheet wants */
color: oklch(49.6% 0.042 169.3);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
Juniper on white measures 5.98:1 and on black 3.51: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.14: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, pine, moss. See every shade on the colors index.
No juniper palettes yet
Run npm run generate to build the dataset.