#2E2F22 Color Information

Hex color code: #2E2F22

A intense yellow shade, #2E2F22 appears as (46, 47, 34) in RGB and (65°, 16%, 16%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#2E2F22
RGB
46, 47, 34
HSL
65°, 16%, 16%
CMYK
2%, 0%, 28%, 82%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2E2F22; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

46, 47, 34

Red: 46 / Green: 47 / Blue: 34

HSL

65°, 16%, 16%

Hue: 65° / Saturation: 16% / Lightness: 16%

CMYK

2%, 0%, 28%, 82%

Cyan: 2% / Magenta: 0% / Yellow: 28% / Key: 82%

What color is #2E2F22?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2E2F22 to RGB:

rgb(46, 47, 34)HEX to RGB Converter →

HEX to HSL

Convert #2E2F22 to HSL:

hsl(65, 16%, 16%)RGB to HSL Converter →

HEX to CMYK

Convert #2E2F22 to CMYK:

cmyk(2%, 0%, 28%, 82%)Color Converter →

Color Meaning and Usage

#2E2F22 is a deep yellow color with RGB values of 46, 47, 34 and HSL of 65°, 16%, 16%. This very dark shade evokes sophistication and elegance, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2E2F22 is #23222F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F2A22.

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

Contrast with #2E2F22

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2E2F22?

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

What is the RGB value of #2E2F22?

#2E2F22 in RGB is (46, 47, 34) - 46 red, 47 green, and 34 blue.

How to use #2E2F22 in CSS?

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

What colors go well with #2E2F22?

#23222F (complementary), #2F2A22 (analogous), and #030302 (lighter shade) work well with #2E2F22.