#403E28 color

#403E28 rgb(64, 62, 40)
Shades of yellow

The hex color #403E28 is a dark, grayish yellow.

In the RGB color model it is made of 25.1% red, 24.3% green and 15.7% blue (64, 62, 40).

Its hue angle is 55°, with 23% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 38% yellow and 75% black.

The closest named color is Madras (#473E23), a difference of 4.3 ΔE, a small difference.

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

#403E28 color codes

HEX#403E28
RGBrgb(64, 62, 40)
RGB percentrgb(25.1%, 24.3%, 15.7%)
HSLhsl(55, 23%, 20%)
HSV / HSBhsv(55, 38%, 25%)
CMYKcmyk(0%, 3%, 38%, 75%)
CIE LABlab(25.83, -3.24, 13.87)
CIE LCHlch(25.83, 14.24, 103.17)
CIE XYZxyz(4.22, 4.689, 2.69)
Decimal4210216
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #403E28, 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 #403E28RatioAAAAAAA large
Sample text1.94:1FailFailFail
Sample text10.84:1PassPassPass
#403E28 as text onRatioAAAAAAA large
Sample text10.84:1PassPassPass
Sample text1.94: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 #403E28 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #403e28; }
.text { color: #403e28; }
.border { border: 2px solid #403e28; }
.transparent { background-color: rgb(64 62 40 / 50%); }
.gradient { background: linear-gradient(to right, #403e28, #364028); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #403E28?
#403E28 is a dark, grayish yellow, closest to the named color Madras. It belongs to the yellow family of colors.
What is the RGB value of #403E28?
The RGB value is 64, 62, 40: 64 red, 62 green and 40 blue on a 0 to 255 scale.
What is the complementary color of #403E28?
The complementary color is #282A40, found by rotating the hue 180° on the color wheel.
Is black or white text better on #403E28?
White text. Black text has a contrast ratio of 1.94:1 and white text 10.84:1. WCAG asks for at least 4.5:1 for normal text.