#406642 color
The hex color #406642 is a dark, grayish green.
In the RGB color model it is made of 25.1% red, 40% green and 25.9% blue (64, 102, 66).
Its hue angle is 123°, with 23% saturation and 33% lightness. For print, the CMYK equivalent is 37% cyan, 0% magenta, 35% yellow and 60% black.
The closest named color is Jurassic Park (#3C663E), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.57:1).
#406642 color codes
| HEX | #406642 | |
|---|---|---|
| RGB | rgb(64, 102, 66) | |
| RGB percent | rgb(25.1%, 40%, 25.9%) | |
| HSL | hsl(123, 23%, 33%) | |
| HSV / HSB | hsv(123, 37%, 40%) | |
| CMYK | cmyk(37%, 0%, 35%, 60%) | |
| CIE LAB | lab(39.56, -21.73, 16.2) | |
| CIE LCH | lch(39.56, 27.11, 143.29) | |
| CIE XYZ | xyz(7.849, 10.986, 6.86) | |
| Decimal | 4220482 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #406642, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #406642 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.2:1 | Fail | Fail | Pass |
| Sample text | 6.57:1 | Pass | Fail | Pass |
| #406642 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.57:1 | Pass | Fail | Pass |
| Sample text | 3.2:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #406642 looks to people with the most common types of color vision deficiency.
#676040Protanopia
no red cones#615c44Deuteranopia
no green cones#3b645dTritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #406642; }
.text { color: #406642; }
.border { border: 2px solid #406642; }
.transparent { background-color: rgb(64 102 66 / 50%); }
.gradient { background: linear-gradient(to right, #406642, #406655); }
Similar colors
#3c663eJurassic Park#336644Forest Serenade#355e3bHunter Green#476e42Under the Radar#3e6334Greenhouse#3d7049Parsley Sprig#2a603bMidori#415b36Turf
Questions
- What color is #406642?
- #406642 is a dark, grayish green, closest to the named color Jurassic Park. It belongs to the green family of colors.
- What is the RGB value of #406642?
- The RGB value is 64, 102, 66: 64 red, 102 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #406642?
- The complementary color is #664064, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #406642?
- White text. Black text has a contrast ratio of 3.2:1 and white text 6.57:1. WCAG asks for at least 4.5:1 for normal text.