#1F291E color

#1F291E rgb(31, 41, 30)
Shades of black

The hex color #1F291E is a very dark, grayish green.

In the RGB color model it is made of 12.2% red, 16.1% green and 11.8% blue (31, 41, 30).

Its hue angle is 115°, with 15% saturation and 14% lightness. For print, the CMYK equivalent is 24% cyan, 0% magenta, 27% yellow and 84% black.

The closest named color is Underworld (#1E231C), a difference of 3.8 ΔE, a small difference.

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

#1F291E color codes

HEX#1F291E
RGBrgb(31, 41, 30)
RGB percentrgb(12.2%, 16.1%, 11.8%)
HSLhsl(115, 15%, 14%)
HSV / HSBhsv(115, 27%, 16%)
CMYKcmyk(24%, 0%, 27%, 84%)
CIE LABlab(15.33, -7.12, 5.82)
CIE LCHlch(15.33, 9.2, 140.75)
CIE XYZxyz(1.592, 1.971, 1.525)
Decimal2042142
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1F291E, 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 #1F291ERatioAAAAAAA large
Sample text1.39:1FailFailFail
Sample text15.06:1PassPassPass
#1F291E as text onRatioAAAAAAA large
Sample text15.06:1PassPassPass
Sample text1.39: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 #1F291E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1f291e; }
.text { color: #1f291e; }
.border { border: 2px solid #1f291e; }
.transparent { background-color: rgb(31 41 30 / 50%); }
.gradient { background: linear-gradient(to right, #1f291e, #1e2923); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #1F291E?
#1F291E is a very dark, grayish green, closest to the named color Underworld. It belongs to the black family of colors.
What is the RGB value of #1F291E?
The RGB value is 31, 41, 30: 31 red, 41 green and 30 blue on a 0 to 255 scale.
What is the complementary color of #1F291E?
The complementary color is #281E29, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1F291E?
White text. Black text has a contrast ratio of 1.39:1 and white text 15.06:1. WCAG asks for at least 4.5:1 for normal text.