#031808 color
The hex color #031808 is a very dark, moderate green.
In the RGB color model it is made of 1.2% red, 9.4% green and 3.1% blue (3, 24, 8).
Its hue angle is 134°, with 78% saturation and 5% lightness. For print, the CMYK equivalent is 88% cyan, 0% magenta, 67% yellow and 91% black.
The closest named color is Cosmic Bit Flip (#001000), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.45:1).
#031808 color codes
| HEX | #031808 | |
|---|---|---|
| RGB | rgb(3, 24, 8) | |
| RGB percent | rgb(1.2%, 9.4%, 3.1%) | |
| HSL | hsl(134, 78%, 5%) | |
| HSV / HSB | hsv(134, 88%, 9%) | |
| CMYK | cmyk(88%, 0%, 67%, 91%) | |
| CIE LAB | lab(6.23, -10.16, 5.86) | |
| CIE LCH | lch(6.23, 11.73, 150) | |
| CIE XYZ | xyz(0.408, 0.69, 0.341) | |
| Decimal | 202760 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #031808, 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 #031808 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.45:1 | Pass | Pass | Pass |
| #031808 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.45:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #031808 looks to people with the most common types of color vision deficiency.
#181507Protanopia
no red cones#151309Deuteranopia
no green cones#001714Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #031808; }
.text { color: #031808; }
.border { border: 2px solid #031808; }
.transparent { background-color: rgb(3 24 8 / 50%); }
.gradient { background: linear-gradient(to right, #031808, #031812); }
Similar colors
#001000Cosmic Bit Flip#112211Nightmare#020f03Blackn’t#041108Jedi Night#091101Memorial Black#17240bMidnight Pines#162825Swamp Thing#1e231cUnderworld
Closest common color name: Off Black.
Questions
- What color is #031808?
- #031808 is a very dark, moderate green, closest to the named color Cosmic Bit Flip. It belongs to the black family of colors.
- What is the RGB value of #031808?
- The RGB value is 3, 24, 8: 3 red, 24 green and 8 blue on a 0 to 255 scale.
- What is the complementary color of #031808?
- The complementary color is #180313, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #031808?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.45:1. WCAG asks for at least 4.5:1 for normal text.