#40503F color

#40503F rgb(64, 80, 63)
Shades of gray

The hex color #40503F is a dark, grayish green.

In the RGB color model it is made of 25.1% red, 31.4% green and 24.7% blue (64, 80, 63).

Its hue angle is 116°, with 12% saturation and 28% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 21% yellow and 69% black.

The closest named color is Hōjicha (#424F3B), a difference of 1.7 ΔE, which is barely visible.

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

#40503F color codes

HEX#40503F
RGBrgb(64, 80, 63)
RGB percentrgb(25.1%, 31.4%, 24.7%)
HSLhsl(116, 12%, 28%)
HSV / HSBhsv(116, 21%, 31%)
CMYKcmyk(20%, 0%, 21%, 69%)
CIE LABlab(32.23, -10.12, 7.99)
CIE LCHlch(32.23, 12.9, 141.72)
CIE XYZxyz(5.88, 7.186, 5.779)
Decimal4214847
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #40503f; }
.text { color: #40503f; }
.border { border: 2px solid #40503f; }
.transparent { background-color: rgb(64 80 63 / 50%); }
.gradient { background: linear-gradient(to right, #40503f, #3f5047); }
Background
Text color
Border

Similar colors

Closest common color name: Ebony.

Questions

What color is #40503F?
#40503F is a dark, grayish green, closest to the named color Hōjicha. It belongs to the gray family of colors.
What is the RGB value of #40503F?
The RGB value is 64, 80, 63: 64 red, 80 green and 63 blue on a 0 to 255 scale.
What is the complementary color of #40503F?
The complementary color is #4F3F50, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40503F?
White text. Black text has a contrast ratio of 2.44:1 and white text 8.62:1. WCAG asks for at least 4.5:1 for normal text.