#005104 color
The hex color #005104 is a very dark, vivid green.
In the RGB color model it is made of 0% red, 31.8% green and 1.6% blue (0, 81, 4).
Its hue angle is 123°, with 100% saturation and 16% lightness. For print, the CMYK equivalent is 100% cyan, 0% magenta, 95% yellow and 68% black.
The closest named color is Forest (#0B5509), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.64:1).
#005104 color codes
| HEX | #005104 | |
|---|---|---|
| RGB | rgb(0, 81, 4) | |
| RGB percent | rgb(0%, 31.8%, 1.6%) | |
| HSL | hsl(123, 100%, 16%) | |
| HSV / HSB | hsv(123, 100%, 32%) | |
| CMYK | cmyk(100%, 0%, 95%, 68%) | |
| CIE LAB | lab(29.14, -37.19, 34.65) | |
| CIE LCH | lch(29.14, 50.83, 137.03) | |
| CIE XYZ | xyz(2.964, 5.893, 1.096) | |
| Decimal | 20740 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #005104, 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 #005104 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.64:1 | Pass | Pass | Pass |
| #005104 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.64:1 | Pass | Pass | Pass |
| Sample text | 2.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 #005104 looks to people with the most common types of color vision deficiency.
#534800Protanopia
no red cones#4b430fDeuteranopia
no green cones#004e44Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #005104; }
.text { color: #005104; }
.border { border: 2px solid #005104; }
.transparent { background-color: rgb(0 81 4 / 50%); }
.gradient { background: linear-gradient(to right, #005104, #00512d); }
Similar colors
#0b5509Forest#115511Jungle Jam#005511Swamp Monster#115500Donegal Green#005800Duck Hunt#02590fDeep Green#195905Lincoln Green#0f521aMysterious Mixture
Closest common color name: Dark Green.
Questions
- What color is #005104?
- #005104 is a very dark, vivid green, closest to the named color Forest. It belongs to the green family of colors.
- What is the RGB value of #005104?
- The RGB value is 0, 81, 4: 0 red, 81 green and 4 blue on a 0 to 255 scale.
- What is the complementary color of #005104?
- The complementary color is #51004D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #005104?
- White text. Black text has a contrast ratio of 2.18:1 and white text 9.64:1. WCAG asks for at least 4.5:1 for normal text.