#313E2E color

#313E2E rgb(49, 62, 46)
Shades of gray

The hex color #313E2E is a dark, grayish green.

In the RGB color model it is made of 19.2% red, 24.3% green and 18% blue (49, 62, 46).

Its hue angle is 109°, with 15% saturation and 21% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 26% yellow and 76% black.

The closest named color is Palm Leaf (#36482F), a difference of 4.7 ΔE, a small difference.

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

#313E2E color codes

HEX#313E2E
RGBrgb(49, 62, 46)
RGB percentrgb(19.2%, 24.3%, 18%)
HSLhsl(109, 15%, 21%)
HSV / HSBhsv(109, 26%, 24%)
CMYKcmyk(21%, 0%, 26%, 76%)
CIE LABlab(24.62, -9.04, 8.13)
CIE LCHlch(24.62, 12.16, 138.04)
CIE XYZxyz(3.482, 4.295, 3.23)
Decimal3227182
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #313e2e; }
.text { color: #313e2e; }
.border { border: 2px solid #313e2e; }
.transparent { background-color: rgb(49 62 46 / 50%); }
.gradient { background: linear-gradient(to right, #313e2e, #2e3e33); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #313E2E?
#313E2E is a dark, grayish green, closest to the named color Palm Leaf. It belongs to the gray family of colors.
What is the RGB value of #313E2E?
The RGB value is 49, 62, 46: 49 red, 62 green and 46 blue on a 0 to 255 scale.
What is the complementary color of #313E2E?
The complementary color is #3B2E3E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313E2E?
White text. Black text has a contrast ratio of 1.86:1 and white text 11.3:1. WCAG asks for at least 4.5:1 for normal text.