#403C2B Color Information

Hex color code: #403C2B

The hex color #403C2B is a dark yellow with RGB values of (64, 60, 43) and HSL of (49°, 20%, 21%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#403C2B
RGB
64, 60, 43
HSL
49°, 20%, 21%
CMYK
0%, 6%, 33%, 75%

Shades

CSS Usage
color: #403C2B;
background-color: #403C2B;
border-color: #403C2B;
box-shadow: 0 0 10px #403C2B;
border: 2px solid #403C2B;
Tailwind Usage
bg-[#403C2B]
text-[#403C2B]
border-[#403C2B]
shadow-[0_0_10px_403C2B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #403C2B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #403C2B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #403C2B; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #403C2B; background-color: #403C2B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #403C2B20; border-left: 4px solid #403C2B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #403C2B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #403C2B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 60, 43

Red: 64 / Green: 60 / Blue: 43

HSL

49°, 20%, 21%

Hue: 49° / Saturation: 20% / Lightness: 21%

CMYK

0%, 6%, 33%, 75%

Cyan: 0% / Magenta: 6% / Yellow: 33% / Key: 75%

What color is #403C2B?

#403C2B is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #403C2B to RGB:

rgb(64, 60, 43)HEX to RGB Converter →

HEX to HSL

Convert #403C2B to HSL:

hsl(49, 20%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #403C2B to CMYK:

cmyk(0%, 6%, 33%, 75%)Color Converter →

Color Meaning and Usage

#403C2B is a intense yellow color with RGB values of 64, 60, 43 and HSL of 49°, 20%, 21%. This orange-yellow hue evokes optimism and creativity, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #403C2B is #2B2F40, creating high-contrast pairings. For softer combinations, try analogous colors like #40322B.

Use #403C2B in CSS: color: #403C2B or background-color: #403C2B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #403C2B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.90:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #403C2B?

#403C2B is a intense yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #403C2B?

#403C2B in RGB is (64, 60, 43) - 64 red, 60 green, and 43 blue.

How to use #403C2B in CSS?

Use #403C2B directly in your CSS properties like color or background-color.

What colors go well with #403C2B?

#2B2F40 (complementary), #40322B (analogous), and #12110C (lighter shade) work well with #403C2B.