#051C06 color
The hex color #051C06 is a very dark, moderate green.
In the RGB color model it is made of 2% red, 11% green and 2.4% blue (5, 28, 6).
Its hue angle is 123°, with 70% saturation and 6% lightness. For print, the CMYK equivalent is 82% cyan, 0% magenta, 79% yellow and 89% black.
The closest named color is Nightmare (#112211), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.87:1).
#051C06 color codes
| HEX | #051C06 | |
|---|---|---|
| RGB | rgb(5, 28, 6) | |
| RGB percent | rgb(2%, 11%, 2.4%) | |
| HSL | hsl(123, 70%, 6%) | |
| HSV / HSB | hsv(123, 82%, 11%) | |
| CMYK | cmyk(82%, 0%, 79%, 89%) | |
| CIE LAB | lab(7.91, -13.18, 9.14) | |
| CIE LCH | lch(7.91, 16.04, 145.25) | |
| CIE XYZ | xyz(0.511, 0.876, 0.314) | |
| Decimal | 334854 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #051C06, 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 #051C06 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.87:1 | Pass | Pass | Pass |
| #051C06 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.87:1 | Pass | Pass | Pass |
| Sample text | 1.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 #051C06 looks to people with the most common types of color vision deficiency.
#1d1904Protanopia
no red cones#1a1707Deuteranopia
no green cones#021b17Tritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #051c06; }
.text { color: #051c06; }
.border { border: 2px solid #051c06; }
.transparent { background-color: rgb(5 28 6 / 50%); }
.gradient { background: linear-gradient(to right, #051c06, #051c12); }
Similar colors
#112211Nightmare#17240bMidnight Pines#172808Lindworm Green#001000Cosmic Bit Flip#091101Memorial Black#032e0eHaunted Forest#020f03Blackn’t#041108Jedi Night
Closest common color name: British Racing Green.
Questions
- What color is #051C06?
- #051C06 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 #051C06?
- The RGB value is 5, 28, 6: 5 red, 28 green and 6 blue on a 0 to 255 scale.
- What is the complementary color of #051C06?
- The complementary color is #1C051B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #051C06?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.87:1. WCAG asks for at least 4.5:1 for normal text.