#40402F Hex color

#40402F

The hexadecimal color code #40402F corresponds to the code RGB( 64, 64, 47 ). It's a shade of Yellow. This color is a combination of red (at 0,25 level), green (at 0,25 level) and blue (at 0,18 level). Its brightness is 21% and its saturation is 15%. It is composed of red at 36%, green at 36% and blue at 26%.


Features

Hue

Saturation

Brightness

60
15
21
Shade of Yellow
Hex Code #40402F
RGB Code rgb( 64 , 64 , 47)
RGB Code Percentagergb( 25.1% , 25.1% , 18.4% )
HSLhsl( 60 , 15% , 21% )
Complementary
Color
#BFBFD0


Variations of #40402F

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #40402F is the color #EBEBEA

#40402f

Darker Shades

Palette of progressively darker shades. The darkest shade is #060604.

#40402f

Other Shades of Yellow

Examples of other colors within the Yellow spectrum .

See more



Color Palettes

The complementary color #BFBFD0 is the color exactly opposite to #40402F on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#40402F

Triadic palette



Uses of #40402F in CSS

When using #40402F as the background color, consider selecting a lighter text color for improved readability. If you want to use #40402F as the text color, prefer a light background, such as Blanc.

#40402F as background color

Black text
White text
div{ background: #40402F;  }

Colored text

With a white background or
with a dark background
div{ color: #40402F;  }

Border

#40402F colored border with a width of 3px
div{ border: 3px solid #40402F;  }

Shadow

#40402F shadow colored
div{ box-shadow: 3px 3px 7px #40402F; }

Similar Colors

Other color codes similar or equivalent to the specified color code #40402F.

Choose another color

Select another color on color wheel.

Selected color: