#34311D Color Information

Hex color code: #34311D

A intense yellow shade, #34311D appears as (52, 49, 29) in RGB and (52°, 28%, 16%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#34311D
RGB
52, 49, 29
HSL
52°, 28%, 16%
CMYK
0%, 6%, 44%, 80%

Shades

CSS Usage
color: #34311D;
background-color: #34311D;
border-color: #34311D;
box-shadow: 0 0 10px #34311D;
border: 2px solid #34311D;
Tailwind Usage
bg-[#34311D]
text-[#34311D]
border-[#34311D]
shadow-[0_0_10px_34311D]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #34311D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #34311D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #34311D; 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 #34311D; background-color: #34311D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #34311D20; border-left: 4px solid #34311D; }

Link / Accent

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

a { color: #34311D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #34311D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 49, 29

Red: 52 / Green: 49 / Blue: 29

HSL

52°, 28%, 16%

Hue: 52° / Saturation: 28% / Lightness: 16%

CMYK

0%, 6%, 44%, 80%

Cyan: 0% / Magenta: 6% / Yellow: 44% / Key: 80%

What color is #34311D?

#34311D is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #34311D to RGB:

rgb(52, 49, 29)HEX to RGB Converter →

HEX to HSL

Convert #34311D to HSL:

hsl(52, 28%, 16%)RGB to HSL Converter →

HEX to CMYK

Convert #34311D to CMYK:

cmyk(0%, 6%, 44%, 80%)Color Converter →

Color Meaning and Usage

A dark yellow tone, #34311D has RGB (52, 49, 29) and HSL (52°, 28%, 16%). Known for evoking sophistication and elegance, this very dark shade is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #34311D is #1D2034, creating high-contrast pairings. For softer combinations, try analogous colors like #34261D.

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

Contrast with #34311D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #34311D?

#34311D is a dark yellow color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #34311D?

#34311D in RGB is (52, 49, 29) - 52 red, 49 green, and 29 blue.

How to use #34311D in CSS?

Use #34311D directly in your CSS properties like color or background-color.

What colors go well with #34311D?

#1D2034 (complementary), #34261D (analogous), and #030302 (lighter shade) work well with #34311D.