#313F34 color

#313F34 rgb(49, 63, 52)
Shades of gray

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

In the RGB color model it is made of 19.2% red, 24.7% green and 20.4% blue (49, 63, 52).

Its hue angle is 133°, with 13% saturation and 22% lightness. For print, the CMYK equivalent is 22% cyan, 0% magenta, 17% yellow and 75% black.

The closest named color is Deep Forest (#3C463E), a difference of 3.7 ΔE, a small difference.

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

#313F34 color codes

HEX#313F34
RGBrgb(49, 63, 52)
RGB percentrgb(19.2%, 24.7%, 20.4%)
HSLhsl(133, 13%, 22%)
HSV / HSBhsv(133, 22%, 25%)
CMYKcmyk(22%, 0%, 17%, 75%)
CIE LABlab(25.12, -8.36, 4.89)
CIE LCHlch(25.12, 9.68, 149.66)
CIE XYZxyz(3.664, 4.456, 3.915)
Decimal3227444
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #313f34; }
.text { color: #313f34; }
.border { border: 2px solid #313f34; }
.transparent { background-color: rgb(49 63 52 / 50%); }
.gradient { background: linear-gradient(to right, #313f34, #313f3b); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #313F34?
#313F34 is a dark, grayish green, closest to the named color Deep Forest. It belongs to the gray family of colors.
What is the RGB value of #313F34?
The RGB value is 49, 63, 52: 49 red, 63 green and 52 blue on a 0 to 255 scale.
What is the complementary color of #313F34?
The complementary color is #3F313C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313F34?
White text. Black text has a contrast ratio of 1.89:1 and white text 11.1:1. WCAG asks for at least 4.5:1 for normal text.