#1A2010 color
The hex color #1A2010 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 10.2% red, 12.5% green and 6.3% blue (26, 32, 16).
Its hue angle is 83°, with 33% saturation and 9% lightness. For print, the CMYK equivalent is 19% cyan, 0% magenta, 50% yellow and 87% black.
The closest named color is Midnight Pines (#17240B), a difference of 4.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.69:1).
#1A2010 color codes
| HEX | #1A2010 | |
|---|---|---|
| RGB | rgb(26, 32, 16) | |
| RGB percent | rgb(10.2%, 12.5%, 6.3%) | |
| HSL | hsl(83, 33%, 9%) | |
| HSV / HSB | hsv(83, 50%, 13%) | |
| CMYK | cmyk(19%, 0%, 50%, 87%) | |
| CIE LAB | lab(11.21, -6.4, 9.53) | |
| CIE LCH | lch(11.21, 11.48, 123.9) | |
| CIE XYZ | xyz(1.036, 1.29, 0.685) | |
| Decimal | 1712144 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A2010, 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 #1A2010 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.69:1 | Pass | Pass | Pass |
| #1A2010 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.69:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #1A2010 looks to people with the most common types of color vision deficiency.
#221e0fProtanopia
no red cones#211e11Deuteranopia
no green cones#1b1f1cTritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #1a2010; }
.text { color: #1a2010; }
.border { border: 2px solid #1a2010; }
.transparent { background-color: rgb(26 32 16 / 50%); }
.gradient { background: linear-gradient(to right, #1a2010, #122010); }
Similar colors
#17240bMidnight Pines#1e231cUnderworld#112211Nightmare#091101Memorial Black#001000Cosmic Bit Flip#020f03Blackn’t#2b2e26Marshland#041108Jedi Night
Closest common color name: Onyx.
Questions
- What color is #1A2010?
- #1A2010 is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the black family of colors.
- What is the RGB value of #1A2010?
- The RGB value is 26, 32, 16: 26 red, 32 green and 16 blue on a 0 to 255 scale.
- What is the complementary color of #1A2010?
- The complementary color is #161020, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A2010?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.69:1. WCAG asks for at least 4.5:1 for normal text.