#1A240C color

#1A240C rgb(26, 36, 12)
Shades of green

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
RGBrgb(26, 36, 12)
RGB percentrgb(10.2%, 14.1%, 4.7%)
HSLhsl(85, 50%, 9%)
HSV / HSBhsv(85, 67%, 14%)
CMYKcmyk(28%, 0%, 67%, 86%)
CIE LABlab(12.66, -9.64, 13.53)
CIE LCHlch(12.66, 16.61, 125.46)
CIE XYZxyz(1.123, 1.508, 0.58)
Decimal1713164
Short hexNone (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 #1A240CRatioAAAAAAA large
Sample text1.3:1FailFailFail
Sample text16.13:1PassPassPass
#1A240C as text onRatioAAAAAAA large
Sample text16.13:1PassPassPass
Sample text1.3:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.