#2E311C Color Information

Hex color code: #2E311C

#2E311C is a dark yellow color. In RGB it is (46, 49, 28), and in HSL it is (69°, 27%, 15%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#2E311C
RGB
46, 49, 28
HSL
69°, 27%, 15%
CMYK
6%, 0%, 43%, 81%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2E311C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2E311C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2E311C; 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 #2E311C; background-color: #2E311C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2E311C20; border-left: 4px solid #2E311C; }

Link / Accent

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

a { color: #2E311C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2E311C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

46, 49, 28

Red: 46 / Green: 49 / Blue: 28

HSL

69°, 27%, 15%

Hue: 69° / Saturation: 27% / Lightness: 15%

CMYK

6%, 0%, 43%, 81%

Cyan: 6% / Magenta: 0% / Yellow: 43% / Key: 81%

What color is #2E311C?

#2E311C is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2E311C to RGB:

rgb(46, 49, 28)HEX to RGB Converter →

HEX to HSL

Convert #2E311C to HSL:

hsl(69, 27%, 15%)RGB to HSL Converter →

HEX to CMYK

Convert #2E311C to CMYK:

cmyk(6%, 0%, 43%, 81%)Color Converter →

Color Meaning and Usage

A intense yellow tone, #2E311C has RGB (46, 49, 28) and HSL (69°, 27%, 15%). Known for evoking sophistication and elegance, this very dark shade is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2E311C is #1F1C31, creating high-contrast pairings. For softer combinations, try analogous colors like #31291C.

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

Contrast with #2E311C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2E311C?

#2E311C is a intense yellow color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #2E311C?

#2E311C in RGB is (46, 49, 28) - 46 red, 49 green, and 28 blue.

How to use #2E311C in CSS?

Use #2E311C directly in your CSS properties like color or background-color.

What colors go well with #2E311C?

#1F1C31 (complementary), #31291C (analogous), and #000000 (lighter shade) work well with #2E311C.