#1D2312 color

#1D2312 rgb(29, 35, 18)
Shades of gray

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

In the RGB color model it is made of 11.4% red, 13.7% green and 7.1% blue (29, 35, 18).

Its hue angle is 81°, with 32% saturation and 10% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 49% yellow and 86% black.

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

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

#1D2312 color codes

HEX#1D2312
RGBrgb(29, 35, 18)
RGB percentrgb(11.4%, 13.7%, 7.1%)
HSLhsl(81, 32%, 10%)
HSV / HSBhsv(81, 49%, 14%)
CMYKcmyk(17%, 0%, 49%, 86%)
CIE LABlab(12.65, -6.53, 10.39)
CIE LCHlch(12.65, 12.27, 122.16)
CIE XYZxyz(1.217, 1.507, 0.799)
Decimal1909522
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #1d2312; }
.text { color: #1d2312; }
.border { border: 2px solid #1d2312; }
.transparent { background-color: rgb(29 35 18 / 50%); }
.gradient { background: linear-gradient(to right, #1d2312, #142312); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #1D2312?
#1D2312 is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the gray family of colors.
What is the RGB value of #1D2312?
The RGB value is 29, 35, 18: 29 red, 35 green and 18 blue on a 0 to 255 scale.
What is the complementary color of #1D2312?
The complementary color is #181223, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1D2312?
White text. Black text has a contrast ratio of 1.3:1 and white text 16.14:1. WCAG asks for at least 4.5:1 for normal text.