#302F2C Color Information

Hex color code: #302F2C

The hex color #302F2C is a rich yellow with RGB values of (48, 47, 44) and HSL of (45°, 4%, 18%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#302F2C
RGB
48, 47, 44
HSL
45°, 4%, 18%
CMYK
0%, 2%, 8%, 81%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #302F2C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #302F2C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #302F2C; 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 #302F2C; background-color: #302F2C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #302F2C20; border-left: 4px solid #302F2C; }

Link / Accent

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

a { color: #302F2C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #302F2C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 47, 44

Red: 48 / Green: 47 / Blue: 44

HSL

45°, 4%, 18%

Hue: 45° / Saturation: 4% / Lightness: 18%

CMYK

0%, 2%, 8%, 81%

Cyan: 0% / Magenta: 2% / Yellow: 8% / Key: 81%

What color is #302F2C?

#302F2C is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #302F2C to RGB:

rgb(48, 47, 44)HEX to RGB Converter →

HEX to HSL

Convert #302F2C to HSL:

hsl(45, 4%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #302F2C to CMYK:

cmyk(0%, 2%, 8%, 81%)Color Converter →

Color Meaning and Usage

A intense yellow tone, #302F2C has RGB (48, 47, 44) and HSL (45°, 4%, 18%). Known for evoking sophistication and elegance, this very dark shade is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #302F2C is #2C2D30, creating high-contrast pairings. For softer combinations, try analogous colors like #302D2C.

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

Contrast with #302F2C

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 #302F2C?

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

What is the RGB value of #302F2C?

#302F2C in RGB is (48, 47, 44) - 48 red, 47 green, and 44 blue.

How to use #302F2C in CSS?

Use #302F2C directly in your CSS properties like color or background-color.

What colors go well with #302F2C?

#2C2D30 (complementary), #302D2C (analogous), and #080807 (lighter shade) work well with #302F2C.