#406042 color

#406042 rgb(64, 96, 66)
Shades of green

The hex color #406042 is a dark, grayish green.

In the RGB color model it is made of 25.1% red, 37.6% green and 25.9% blue (64, 96, 66).

Its hue angle is 124°, with 20% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 31% yellow and 62% black.

The closest named color is Ficus (#3B593A), a difference of 2.4 ΔE, a small difference.

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

#406042 color codes

HEX#406042
RGBrgb(64, 96, 66)
RGB percentrgb(25.1%, 37.6%, 25.9%)
HSLhsl(124, 20%, 31%)
HSV / HSBhsv(124, 33%, 38%)
CMYKcmyk(33%, 0%, 31%, 62%)
CIE LABlab(37.57, -18.56, 13.52)
CIE LCHlch(37.57, 22.96, 143.93)
CIE XYZxyz(7.28, 9.849, 6.671)
Decimal4218946
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #406042; }
.text { color: #406042; }
.border { border: 2px solid #406042; }
.transparent { background-color: rgb(64 96 66 / 50%); }
.gradient { background: linear-gradient(to right, #406042, #406052); }
Background
Text color
Border

Similar colors

Questions

What color is #406042?
#406042 is a dark, grayish green, closest to the named color Ficus. It belongs to the green family of colors.
What is the RGB value of #406042?
The RGB value is 64, 96, 66: 64 red, 96 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #406042?
The complementary color is #60405E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #406042?
White text. Black text has a contrast ratio of 2.97:1 and white text 7.07:1. WCAG asks for at least 4.5:1 for normal text.