#051A06 color
The hex color #051A06 is a very dark, moderate green.
In the RGB color model it is made of 2% red, 10.2% green and 2.4% blue (5, 26, 6).
Its hue angle is 123°, with 68% saturation and 6% lightness. For print, the CMYK equivalent is 81% cyan, 0% magenta, 77% yellow and 90% black.
The closest named color is Nightmare (#112211), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.15:1).
#051A06 color codes
| HEX | #051A06 | |
|---|---|---|
| RGB | rgb(5, 26, 6) | |
| RGB percent | rgb(2%, 10.2%, 2.4%) | |
| HSL | hsl(123, 68%, 6%) | |
| HSV / HSB | hsv(123, 81%, 10%) | |
| CMYK | cmyk(81%, 0%, 77%, 90%) | |
| CIE LAB | lab(7.08, -11.49, 7.93) | |
| CIE LCH | lch(7.08, 13.96, 145.37) | |
| CIE XYZ | xyz(0.465, 0.784, 0.299) | |
| Decimal | 334342 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #051A06, 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 #051A06 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.15:1 | Pass | Pass | Pass |
| #051A06 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.15:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #051A06 looks to people with the most common types of color vision deficiency.
#1b1705Protanopia
no red cones#181507Deuteranopia
no green cones#031915Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #051a06; }
.text { color: #051a06; }
.border { border: 2px solid #051a06; }
.transparent { background-color: rgb(5 26 6 / 50%); }
.gradient { background: linear-gradient(to right, #051a06, #051a11); }
Similar colors
#112211Nightmare#001000Cosmic Bit Flip#17240bMidnight Pines#091101Memorial Black#020f03Blackn’t#041108Jedi Night#172808Lindworm Green#162825Swamp Thing
Closest common color name: Off Black.
Questions
- What color is #051A06?
- #051A06 is a very dark, moderate green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #051A06?
- The RGB value is 5, 26, 6: 5 red, 26 green and 6 blue on a 0 to 255 scale.
- What is the complementary color of #051A06?
- The complementary color is #1A0519, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #051A06?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.15:1. WCAG asks for at least 4.5:1 for normal text.