#40604F color
The hex color #40604F is a dark, grayish green.
In the RGB color model it is made of 25.1% red, 37.6% green and 31% blue (64, 96, 79).
Its hue angle is 148°, with 20% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 18% yellow and 62% black.
The closest named color is Ethereal Woods (#3E5E4E), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.99:1).
#40604F color codes
| HEX | #40604F | |
|---|---|---|
| RGB | rgb(64, 96, 79) | |
| RGB percent | rgb(25.1%, 37.6%, 31%) | |
| HSL | hsl(148, 20%, 31%) | |
| HSV / HSB | hsv(148, 33%, 38%) | |
| CMYK | cmyk(33%, 0%, 18%, 62%) | |
| CIE LAB | lab(37.88, -15.81, 6.02) | |
| CIE LCH | lch(37.88, 16.92, 159.16) | |
| CIE XYZ | xyz(7.708, 10.02, 8.924) | |
| Decimal | 4218959 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40604F, 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 #40604F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3:1 | Fail | Fail | Pass |
| Sample text | 6.99:1 | Pass | Fail | Pass |
| #40604F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.99:1 | Pass | Fail | Pass |
| Sample text | 3: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 #40604F looks to people with the most common types of color vision deficiency.
#5f5b4eProtanopia
no red cones#5a5850Deuteranopia
no green cones#39605bTritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #40604f; }
.text { color: #40604f; }
.border { border: 2px solid #40604f; }
.transparent { background-color: rgb(64 96 79 / 50%); }
.gradient { background: linear-gradient(to right, #40604f, #40605f); }
Similar colors
#3e5e4eEthereal Woods#3a5f49Herbes de Provence#3e594cPlantation#416858June Ivy#3a5b52Iridescent#4b5d46Muddy Olive#3a533dHighlander#3d6c54Toad King
Closest common color name: Hunter Green.
Questions
- What color is #40604F?
- #40604F is a dark, grayish green, closest to the named color Ethereal Woods. It belongs to the green family of colors.
- What is the RGB value of #40604F?
- The RGB value is 64, 96, 79: 64 red, 96 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #40604F?
- The complementary color is #604051, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40604F?
- White text. Black text has a contrast ratio of 3:1 and white text 6.99:1. WCAG asks for at least 4.5:1 for normal text.