#1A240C color
The hex color #1A240C is a very dark, moderate yellow-green.
In the RGB color model it is made of 10.2% red, 14.1% green and 4.7% blue (26, 36, 12).
Its hue angle is 85°, with 50% saturation and 9% lightness. For print, the CMYK equivalent is 28% cyan, 0% magenta, 67% yellow and 86% black.
The closest named color is Midnight Pines (#17240B), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.13:1).
#1A240C color codes
| HEX | #1A240C | |
|---|---|---|
| RGB | rgb(26, 36, 12) | |
| RGB percent | rgb(10.2%, 14.1%, 4.7%) | |
| HSL | hsl(85, 50%, 9%) | |
| HSV / HSB | hsv(85, 67%, 14%) | |
| CMYK | cmyk(28%, 0%, 67%, 86%) | |
| CIE LAB | lab(12.66, -9.64, 13.53) | |
| CIE LCH | lch(12.66, 16.61, 125.46) | |
| CIE XYZ | xyz(1.123, 1.508, 0.58) | |
| Decimal | 1713164 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A240C, 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 #1A240C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.13:1 | Pass | Pass | Pass |
| #1A240C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.13:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #1A240C looks to people with the most common types of color vision deficiency.
#26210aProtanopia
no red cones#25210dDeuteranopia
no green cones#1b221fTritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #1a240c; }
.text { color: #1a240c; }
.border { border: 2px solid #1a240c; }
.transparent { background-color: rgb(26 36 12 / 50%); }
.gradient { background: linear-gradient(to right, #1a240c, #0e240c); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#112211Nightmare#223311Darkest Forest#1e231cUnderworld#113311Dark Serpent#091101Memorial Black#001000Cosmic Bit Flip
Closest common color name: Onyx.
Questions
- What color is #1A240C?
- #1A240C is a very dark, moderate yellow-green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #1A240C?
- The RGB value is 26, 36, 12: 26 red, 36 green and 12 blue on a 0 to 255 scale.
- What is the complementary color of #1A240C?
- The complementary color is #160C24, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A240C?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.13:1. WCAG asks for at least 4.5:1 for normal text.