#1A200C color

#1A200C rgb(26, 32, 12)
Shades of black

The hex color #1A200C is a very dark, desaturated yellow-green.

In the RGB color model it is made of 10.2% red, 12.5% green and 4.7% blue (26, 32, 12).

Its hue angle is 78°, with 45% saturation and 9% lightness. For print, the CMYK equivalent is 19% cyan, 0% magenta, 62% yellow and 87% black.

The closest named color is Midnight Pines (#17240B), a difference of 3.8 ΔE, a small difference.

White text is the more readable choice on this background (contrast 16.72:1).

#1A200C color codes

HEX#1A200C
RGBrgb(26, 32, 12)
RGB percentrgb(10.2%, 12.5%, 4.7%)
HSLhsl(78, 45%, 9%)
HSV / HSBhsv(78, 63%, 13%)
CMYKcmyk(19%, 0%, 62%, 87%)
CIE LABlab(11.13, -7.05, 11.44)
CIE LCHlch(11.13, 13.44, 121.64)
CIE XYZxyz(1.009, 1.279, 0.542)
Decimal1712140
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1A200C, 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 #1A200CRatioAAAAAAA large
Sample text1.26:1FailFailFail
Sample text16.72:1PassPassPass
#1A200C as text onRatioAAAAAAA large
Sample text16.72:1PassPassPass
Sample text1.26: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 #1A200C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1a200c; }
.text { color: #1a200c; }
.border { border: 2px solid #1a200c; }
.transparent { background-color: rgb(26 32 12 / 50%); }
.gradient { background: linear-gradient(to right, #1a200c, #10200c); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #1A200C?
#1A200C 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 #1A200C?
The RGB value is 26, 32, 12: 26 red, 32 green and 12 blue on a 0 to 255 scale.
What is the complementary color of #1A200C?
The complementary color is #120C20, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1A200C?
White text. Black text has a contrast ratio of 1.26:1 and white text 16.72:1. WCAG asks for at least 4.5:1 for normal text.