#403D27 color

#403D27 rgb(64, 61, 39)
Shades of yellow

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

In the RGB color model it is made of 25.1% red, 23.9% green and 15.3% blue (64, 61, 39).

Its hue angle is 53°, with 24% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 39% yellow and 75% black.

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

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

#403D27 color codes

HEX#403D27
RGBrgb(64, 61, 39)
RGB percentrgb(25.1%, 23.9%, 15.3%)
HSLhsl(53, 24%, 20%)
HSV / HSBhsv(53, 39%, 25%)
CMYKcmyk(0%, 5%, 39%, 75%)
CIE LABlab(25.49, -2.76, 14.06)
CIE LCHlch(25.49, 14.32, 101.11)
CIE XYZxyz(4.149, 4.574, 2.583)
Decimal4209959
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #403d27; }
.text { color: #403d27; }
.border { border: 2px solid #403d27; }
.transparent { background-color: rgb(64 61 39 / 50%); }
.gradient { background: linear-gradient(to right, #403d27, #374027); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #403D27?
#403D27 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 #403D27?
The RGB value is 64, 61, 39: 64 red, 61 green and 39 blue on a 0 to 255 scale.
What is the complementary color of #403D27?
The complementary color is #272A40, found by rotating the hue 180° on the color wheel.
Is black or white text better on #403D27?
White text. Black text has a contrast ratio of 1.91:1 and white text 10.97:1. WCAG asks for at least 4.5:1 for normal text.