Cucumber color: hex code #006400
Cucumber has the hex code #006400. It is a very dark, vivid green.
In the RGB color model it is made of 0% red, 39.2% green and 0% blue (0, 100, 0).
Its hue angle is 120°, with 100% saturation and 20% lightness. For print, the CMYK equivalent is 100% cyan, 0% magenta, 100% yellow and 61% black.
This exact color is also called Dark Green.
White text is the more readable choice on this background (contrast 7.44:1).
Cucumber (#006400) color codes
| HEX | #006400 | |
|---|---|---|
| RGB | rgb(0, 100, 0) | |
| RGB percent | rgb(0%, 39.2%, 0%) | |
| HSL | hsl(120, 100%, 20%) | |
| HSV / HSB | hsv(120, 100%, 39%) | |
| CMYK | cmyk(100%, 0%, 100%, 61%) | |
| CIE LAB | lab(36.2, -43.37, 41.86) | |
| CIE LCH | lch(36.2, 60.27, 136.02) | |
| CIE XYZ | xyz(4.557, 9.114, 1.519) | |
| Decimal | 25600 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Cucumber, 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 #006400 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.44:1 | Pass | Pass | Pass |
| #006400 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.44:1 | Pass | Pass | Pass |
| Sample text | 2.82: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 #006400 looks to people with the most common types of color vision deficiency.
#665900Protanopia
no red cones#5d5311Deuteranopia
no green cones#006154Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #006400; }
.text { color: #006400; }
.border { border: 2px solid #006400; }
.transparent { background-color: rgb(0 100 0 / 50%); }
.gradient { background: linear-gradient(to right, #006400, #006432); }
Similar colors
#116611Overgrown Temple#08690eLeafy Lush#005800Duck Hunt#195905Lincoln Green#02590fDeep Green#0d6323Woodland Wonder#115500Donegal Green#0b5509Forest
See #006400 on its hex code page
Questions
- What color is #006400?
- #006400 is a very dark, vivid green known as Cucumber. It belongs to the green family of colors.
- What is the RGB value of Cucumber?
- The RGB value is 0, 100, 0: 0 red, 100 green and 0 blue on a 0 to 255 scale.
- What is the complementary color of Cucumber?
- The complementary color is #640064, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #006400?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.44:1. WCAG asks for at least 4.5:1 for normal text.