#31382A color

#31382A rgb(49, 56, 42)
Shades of gray

The hex color #31382A is a very dark, grayish yellow-green.

In the RGB color model it is made of 19.2% red, 22% green and 16.5% blue (49, 56, 42).

Its hue angle is 90°, with 14% saturation and 19% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 25% yellow and 78% black.

The closest named color is Marshland (#2B2E26), a difference of 4.7 ΔE, a small difference.

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

#31382A color codes

HEX#31382A
RGBrgb(49, 56, 42)
RGB percentrgb(19.2%, 22%, 16.5%)
HSLhsl(90, 14%, 19%)
HSV / HSBhsv(90, 25%, 22%)
CMYKcmyk(13%, 0%, 25%, 78%)
CIE LABlab(22.47, -6.11, 7.79)
CIE LCHlch(22.47, 9.9, 128.09)
CIE XYZxyz(3.099, 3.648, 2.731)
Decimal3225642
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #31382a; }
.text { color: #31382a; }
.border { border: 2px solid #31382a; }
.transparent { background-color: rgb(49 56 42 / 50%); }
.gradient { background: linear-gradient(to right, #31382a, #2a382a); }
Background
Text color
Border

Similar colors

Questions

What color is #31382A?
#31382A is a very dark, grayish yellow-green, closest to the named color Marshland. It belongs to the gray family of colors.
What is the RGB value of #31382A?
The RGB value is 49, 56, 42: 49 red, 56 green and 42 blue on a 0 to 255 scale.
What is the complementary color of #31382A?
The complementary color is #312A38, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31382A?
White text. Black text has a contrast ratio of 1.73:1 and white text 12.14:1. WCAG asks for at least 4.5:1 for normal text.