#1A2814 color
The hex color #1A2814 is a very dark, desaturated green.
In the RGB color model it is made of 10.2% red, 15.7% green and 7.8% blue (26, 40, 20).
Its hue angle is 102°, with 33% saturation and 12% lightness. For print, the CMYK equivalent is 35% cyan, 0% magenta, 50% yellow and 84% black.
The closest named color is Midnight Pines (#17240B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.47:1).
#1A2814 color codes
| HEX | #1A2814 | |
|---|---|---|
| RGB | rgb(26, 40, 20) | |
| RGB percent | rgb(10.2%, 15.7%, 7.8%) | |
| HSL | hsl(102, 33%, 12%) | |
| HSV / HSB | hsv(102, 50%, 16%) | |
| CMYK | cmyk(35%, 0%, 50%, 84%) | |
| CIE LAB | lab(14.33, -10.83, 11.3) | |
| CIE LCH | lch(14.33, 15.65, 133.78) | |
| CIE XYZ | xyz(1.311, 1.788, 0.938) | |
| Decimal | 1714196 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A2814, 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 #1A2814 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.47:1 | Pass | Pass | Pass |
| #1A2814 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.47:1 | Pass | Pass | Pass |
| Sample text | 1.36: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 #1A2814 looks to people with the most common types of color vision deficiency.
#292513Protanopia
no red cones#272415Deuteranopia
no green cones#1a2723Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #1a2814; }
.text { color: #1a2814; }
.border { border: 2px solid #1a2814; }
.transparent { background-color: rgb(26 40 20 / 50%); }
.gradient { background: linear-gradient(to right, #1a2814, #142818); }
Similar colors
#17240bMidnight Pines#112211Nightmare#172808Lindworm Green#223311Darkest Forest#113311Dark Serpent#032e0eHaunted Forest#1e231cUnderworld#001000Cosmic Bit Flip
Closest common color name: Onyx.
Questions
- What color is #1A2814?
- #1A2814 is a very dark, desaturated green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #1A2814?
- The RGB value is 26, 40, 20: 26 red, 40 green and 20 blue on a 0 to 255 scale.
- What is the complementary color of #1A2814?
- The complementary color is #221428, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A2814?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.47:1. WCAG asks for at least 4.5:1 for normal text.