#31423E color
The hex color #31423E is a dark, grayish spring green.
In the RGB color model it is made of 19.2% red, 25.9% green and 24.3% blue (49, 66, 62).
Its hue angle is 166°, with 15% saturation and 23% lightness. For print, the CMYK equivalent is 26% cyan, 0% magenta, 6% yellow and 74% black.
The closest named color is Deep Forest (#3C463E), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.61:1).
#31423E color codes
| HEX | #31423E | |
|---|---|---|
| RGB | rgb(49, 66, 62) | |
| RGB percent | rgb(19.2%, 25.9%, 24.3%) | |
| HSL | hsl(166, 15%, 23%) | |
| HSV / HSB | hsv(166, 26%, 26%) | |
| CMYK | cmyk(26%, 0%, 6%, 74%) | |
| CIE LAB | lab(26.44, -7.8, 0.21) | |
| CIE LCH | lch(26.44, 7.8, 178.47) | |
| CIE XYZ | xyz(4.084, 4.897, 5.287) | |
| Decimal | 3228222 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31423E, 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 #31423E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.98:1 | Fail | Fail | Fail |
| Sample text | 10.61:1 | Pass | Pass | Pass |
| #31423E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.61:1 | Pass | Pass | Pass |
| Sample text | 1.98: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 #31423E looks to people with the most common types of color vision deficiency.
#41403eProtanopia
no red cones#3d3e3eDeuteranopia
no green cones#2d4341Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #31423e; }
.text { color: #31423e; }
.border { border: 2px solid #31423e; }
.transparent { background-color: rgb(49 66 62 / 50%); }
.gradient { background: linear-gradient(to right, #31423e, #313e42); }
Similar colors
#3c463eDeep Forest#3c4f4eNight Watch#293432Aztec#424c4aUrban Chic#2d454aLittle Mermaid#224347Emerald Forest#27454aMysterious Waters#444b43Ancient Pine
Closest common color name: Dark Slate Gray.
Questions
- What color is #31423E?
- #31423E is a dark, grayish spring green, closest to the named color Deep Forest. It belongs to the gray family of colors.
- What is the RGB value of #31423E?
- The RGB value is 49, 66, 62: 49 red, 66 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #31423E?
- The complementary color is #423135, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31423E?
- White text. Black text has a contrast ratio of 1.98:1 and white text 10.61:1. WCAG asks for at least 4.5:1 for normal text.