#40571F color

#40571F rgb(64, 87, 31)
Shades of green

The hex color #40571F is a dark, desaturated yellow-green.

In the RGB color model it is made of 25.1% red, 34.1% green and 12.2% blue (64, 87, 31).

Its hue angle is 85°, with 47% saturation and 23% lightness. For print, the CMYK equivalent is 26% cyan, 0% magenta, 64% yellow and 66% black.

The closest named color is Army Green (#4B5320), a difference of 4.5 ΔE, a small difference.

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

#40571F color codes

HEX#40571F
RGBrgb(64, 87, 31)
RGB percentrgb(25.1%, 34.1%, 12.2%)
HSLhsl(85, 47%, 23%)
HSV / HSBhsv(85, 64%, 34%)
CMYKcmyk(26%, 0%, 64%, 66%)
CIE LABlab(33.99, -18.98, 29.07)
CIE LCHlch(33.99, 34.72, 123.14)
CIE XYZxyz(5.77, 8.005, 2.537)
Decimal4216607
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40571F, 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 #40571FRatioAAAAAAA large
Sample text2.6:1FailFailFail
Sample text8.07:1PassPassPass
#40571F as text onRatioAAAAAAA large
Sample text8.07:1PassPassPass
Sample text2.6: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 #40571F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40571f; }
.text { color: #40571f; }
.border { border: 2px solid #40571f; }
.transparent { background-color: rgb(64 87 31 / 50%); }
.gradient { background: linear-gradient(to right, #40571f, #24571f); }
Background
Text color
Border

Similar colors

Questions

What color is #40571F?
#40571F is a dark, desaturated yellow-green, closest to the named color Army Green. It belongs to the green family of colors.
What is the RGB value of #40571F?
The RGB value is 64, 87, 31: 64 red, 87 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #40571F?
The complementary color is #361F57, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40571F?
White text. Black text has a contrast ratio of 2.6:1 and white text 8.07:1. WCAG asks for at least 4.5:1 for normal text.