#004018 color
The hex color #004018 is a very dark, vivid green.
In the RGB color model it is made of 0% red, 25.1% green and 9.4% blue (0, 64, 24).
Its hue angle is 143°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 100% cyan, 0% magenta, 63% yellow and 75% black.
The closest named color is Deep Pond (#014420), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.02:1).
#004018 color codes
| HEX | #004018 | |
|---|---|---|
| RGB | rgb(0, 64, 24) | |
| RGB percent | rgb(0%, 25.1%, 9.4%) | |
| HSL | hsl(143, 100%, 13%) | |
| HSV / HSB | hsv(143, 100%, 25%) | |
| CMYK | cmyk(100%, 0%, 63%, 75%) | |
| CIE LAB | lab(22.77, -29.1, 19.12) | |
| CIE LCH | lch(22.77, 34.82, 146.7) | |
| CIE XYZ | xyz(1.998, 3.732, 1.479) | |
| Decimal | 16408 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #004018, 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 #004018 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 12.02:1 | Pass | Pass | Pass |
| #004018 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.02:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #004018 looks to people with the most common types of color vision deficiency.
#413914Protanopia
no red cones#3a341bDeuteranopia
no green cones#003f37Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #004018; }
.text { color: #004018; }
.border { border: 2px solid #004018; }
.transparent { background-color: rgb(0 64 24 / 50%); }
.gradient { background: linear-gradient(to right, #004018, #004038); }
Similar colors
#014420Deep Pond#114411Realm of the Underworld#014426Lost in the Woods#004225British Racing Green#1c401fQueen of Trees#12390dMelancholia#003311Haunted Hills#21421eMyrtle
Questions
- What color is #004018?
- #004018 is a very dark, vivid green, closest to the named color Deep Pond. It belongs to the green family of colors.
- What is the RGB value of #004018?
- The RGB value is 0, 64, 24: 0 red, 64 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #004018?
- The complementary color is #400028, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #004018?
- White text. Black text has a contrast ratio of 1.75:1 and white text 12.02:1. WCAG asks for at least 4.5:1 for normal text.