#40514A color
The hex color #40514A is a dark, grayish spring green.
In the RGB color model it is made of 25.1% red, 31.8% green and 29% blue (64, 81, 74).
Its hue angle is 155°, with 12% saturation and 28% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 9% yellow and 68% black.
The closest named color is Night Watch (#3C4F4E), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.42:1).
#40514A color codes
| HEX | #40514A | |
|---|---|---|
| RGB | rgb(64, 81, 74) | |
| RGB percent | rgb(25.1%, 31.8%, 29%) | |
| HSL | hsl(155, 12%, 28%) | |
| HSV / HSB | hsv(155, 21%, 32%) | |
| CMYK | cmyk(21%, 0%, 9%, 68%) | |
| CIE LAB | lab(32.85, -8.3, 1.93) | |
| CIE LCH | lch(32.85, 8.52, 166.93) | |
| CIE XYZ | xyz(6.292, 7.469, 7.587) | |
| Decimal | 4215114 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40514A, 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 #40514A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.49:1 | Fail | Fail | Fail |
| Sample text | 8.42:1 | Pass | Pass | Pass |
| #40514A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.42:1 | Pass | Pass | Pass |
| Sample text | 2.49:1 | Fail | Fail | Fail |
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 #40514A looks to people with the most common types of color vision deficiency.
#504f4aProtanopia
no red cones#4d4c4aDeuteranopia
no green cones#3c514fTritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #40514a; }
.text { color: #40514a; }
.border { border: 2px solid #40514a; }
.transparent { background-color: rgb(64 81 74 / 50%); }
.gradient { background: linear-gradient(to right, #40514a, #404f51); }
Similar colors
#3c4f4eNight Watch#3c463eDeep Forest#455454All Nighter#424c4aUrban Chic#444b43Ancient Pine#334d41Pine Needle#33534bHunter#3e594cPlantation
Closest common color name: Dark Slate Gray.
Questions
- What color is #40514A?
- #40514A is a dark, grayish spring green, closest to the named color Night Watch. It belongs to the gray family of colors.
- What is the RGB value of #40514A?
- The RGB value is 64, 81, 74: 64 red, 81 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #40514A?
- The complementary color is #514047, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40514A?
- White text. Black text has a contrast ratio of 2.49:1 and white text 8.42:1. WCAG asks for at least 4.5:1 for normal text.