#031D07 color
The hex color #031D07 is a very dark, vivid green.
In the RGB color model it is made of 1.2% red, 11.4% green and 2.7% blue (3, 29, 7).
Its hue angle is 129°, with 81% saturation and 6% lightness. For print, the CMYK equivalent is 90% cyan, 0% magenta, 76% yellow and 89% black.
The closest named color is Nightmare (#112211), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.76:1).
#031D07 color codes
| HEX | #031D07 | |
|---|---|---|
| RGB | rgb(3, 29, 7) | |
| RGB percent | rgb(1.2%, 11.4%, 2.7%) | |
| HSL | hsl(129, 81%, 6%) | |
| HSV / HSB | hsv(129, 90%, 11%) | |
| CMYK | cmyk(90%, 0%, 76%, 89%) | |
| CIE LAB | lab(8.25, -14.45, 9.21) | |
| CIE LCH | lch(8.25, 17.13, 147.47) | |
| CIE XYZ | xyz(0.515, 0.913, 0.35) | |
| Decimal | 204039 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #031D07, 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 #031D07 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.76:1 | Pass | Pass | Pass |
| #031D07 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.76:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #031D07 looks to people with the most common types of color vision deficiency.
#1e1905Protanopia
no red cones#1a1708Deuteranopia
no green cones#001c18Tritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #031d07; }
.text { color: #031d07; }
.border { border: 2px solid #031d07; }
.transparent { background-color: rgb(3 29 7 / 50%); }
.gradient { background: linear-gradient(to right, #031d07, #031d14); }
Similar colors
#112211Nightmare#17240bMidnight Pines#172808Lindworm Green#001000Cosmic Bit Flip#032e0eHaunted Forest#003322Pitch-Black Forests#002d04PCB Green#113311Dark Serpent
Closest common color name: British Racing Green.
Questions
- What color is #031D07?
- #031D07 is a very dark, vivid green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #031D07?
- The RGB value is 3, 29, 7: 3 red, 29 green and 7 blue on a 0 to 255 scale.
- What is the complementary color of #031D07?
- The complementary color is #1D0319, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #031D07?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.76:1. WCAG asks for at least 4.5:1 for normal text.