#142A12 color
The hex color #142A12 is a very dark, desaturated green.
In the RGB color model it is made of 7.8% red, 16.5% green and 7.1% blue (20, 42, 18).
Its hue angle is 115°, with 40% saturation and 12% lightness. For print, the CMYK equivalent is 52% cyan, 0% magenta, 57% yellow and 84% black.
The closest named color is Lindworm Green (#172808), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.33:1).
#142A12 color codes
| HEX | #142A12 | |
|---|---|---|
| RGB | rgb(20, 42, 18) | |
| RGB percent | rgb(7.8%, 16.5%, 7.1%) | |
| HSL | hsl(115, 40%, 12%) | |
| HSV / HSB | hsv(115, 57%, 16%) | |
| CMYK | cmyk(52%, 0%, 57%, 84%) | |
| CIE LAB | lab(14.67, -14.95, 12.93) | |
| CIE LCH | lch(14.67, 19.77, 139.14) | |
| CIE XYZ | xyz(1.226, 1.848, 0.864) | |
| Decimal | 1321490 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #142A12, 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 #142A12 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.33:1 | Pass | Pass | Pass |
| #142A12 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.33:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #142A12 looks to people with the most common types of color vision deficiency.
#2b2610Protanopia
no red cones#282414Deuteranopia
no green cones#122924Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #142a12; }
.text { color: #142a12; }
.border { border: 2px solid #142a12; }
.transparent { background-color: rgb(20 42 18 / 50%); }
.gradient { background: linear-gradient(to right, #142a12, #122a1c); }
Similar colors
#172808Lindworm Green#17240bMidnight Pines#112211Nightmare#113311Dark Serpent#032e0eHaunted Forest#223311Darkest Forest#002d04PCB Green#003311Haunted Hills
Closest common color name: British Racing Green.
Questions
- What color is #142A12?
- #142A12 is a very dark, desaturated green, closest to the named color Lindworm Green. It belongs to the green family of colors.
- What is the RGB value of #142A12?
- The RGB value is 20, 42, 18: 20 red, 42 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #142A12?
- The complementary color is #28122A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #142A12?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.33:1. WCAG asks for at least 4.5:1 for normal text.