#31402D color
The hex color #31402D is a dark, grayish green.
In the RGB color model it is made of 19.2% red, 25.1% green and 17.6% blue (49, 64, 45).
Its hue angle is 107°, with 17% saturation and 21% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 30% yellow and 75% black.
The closest named color is Palm Leaf (#36482F), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.04:1).
#31402D color codes
| HEX | #31402D | |
|---|---|---|
| RGB | rgb(49, 64, 45) | |
| RGB percent | rgb(19.2%, 25.1%, 17.6%) | |
| HSL | hsl(107, 17%, 21%) | |
| HSV / HSB | hsv(107, 30%, 25%) | |
| CMYK | cmyk(23%, 0%, 30%, 75%) | |
| CIE LAB | lab(25.29, -10.46, 9.7) | |
| CIE LCH | lch(25.29, 14.26, 137.17) | |
| CIE XYZ | xyz(3.574, 4.509, 3.164) | |
| Decimal | 3227693 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31402D, 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 #31402D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.9:1 | Fail | Fail | Fail |
| Sample text | 11.04:1 | Pass | Pass | Pass |
| #31402D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.04:1 | Pass | Pass | Pass |
| Sample text | 1.9: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 #31402D looks to people with the most common types of color vision deficiency.
#413d2cProtanopia
no red cones#3f3b2eDeuteranopia
no green cones#303f3bTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #31402d; }
.text { color: #31402d; }
.border { border: 2px solid #31402d; }
.transparent { background-color: rgb(49 64 45 / 50%); }
.gradient { background: linear-gradient(to right, #31402d, #2d4033); }
Similar colors
#36482fPalm Leaf#394c3bMountain View#264334Everglade#424f3bHōjicha#334d41Pine Needle#3c463eDeep Forest#2f441fForestry#3a533dHighlander
Closest common color name: Onyx.
Questions
- What color is #31402D?
- #31402D is a dark, grayish green, closest to the named color Palm Leaf. It belongs to the green family of colors.
- What is the RGB value of #31402D?
- The RGB value is 49, 64, 45: 49 red, 64 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #31402D?
- The complementary color is #3C2D40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31402D?
- White text. Black text has a contrast ratio of 1.9:1 and white text 11.04:1. WCAG asks for at least 4.5:1 for normal text.