#1F402E color
The hex color #1F402E is a very dark, desaturated green.
In the RGB color model it is made of 12.2% red, 25.1% green and 18% blue (31, 64, 46).
Its hue angle is 147°, with 35% saturation and 19% lightness. For print, the CMYK equivalent is 52% cyan, 0% magenta, 28% yellow and 75% black.
The closest named color is Everglade (#264334), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.47:1).
#1F402E color codes
| HEX | #1F402E | |
|---|---|---|
| RGB | rgb(31, 64, 46) | |
| RGB percent | rgb(12.2%, 25.1%, 18%) | |
| HSL | hsl(147, 35%, 19%) | |
| HSV / HSB | hsv(147, 52%, 25%) | |
| CMYK | cmyk(52%, 0%, 28%, 75%) | |
| CIE LAB | lab(24.18, -17.1, 7.33) | |
| CIE LCH | lch(24.18, 18.6, 156.78) | |
| CIE XYZ | xyz(2.891, 4.155, 3.234) | |
| Decimal | 2048046 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F402E, 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 #1F402E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.47:1 | Pass | Pass | Pass |
| #1F402E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.47:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #1F402E looks to people with the most common types of color vision deficiency.
#3f3c2dProtanopia
no red cones#3a382fDeuteranopia
no green cones#17403bTritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #1f402e; }
.text { color: #1f402e; }
.border { border: 2px solid #1f402e; }
.transparent { background-color: rgb(31 64 46 / 50%); }
.gradient { background: linear-gradient(to right, #1f402e, #1f403e); }
Similar colors
#264334Everglade#17462eZucchini#003322Pitch-Black Forests#1c401fQueen of Trees#004225British Racing Green#334d41Pine Needle#014426Lost in the Woods#36482fPalm Leaf
Questions
- What color is #1F402E?
- #1F402E is a very dark, desaturated green, closest to the named color Everglade. It belongs to the green family of colors.
- What is the RGB value of #1F402E?
- The RGB value is 31, 64, 46: 31 red, 64 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #1F402E?
- The complementary color is #401F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F402E?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.47:1. WCAG asks for at least 4.5:1 for normal text.