#545212 Color Information

Hex color code: #545212

#545212 is a intense yellow color. In RGB it is (84, 82, 18), and in HSL it is (58°, 65%, 20%). It is popular in mobile app design.

Try:
Color NameDark Olive Green
HEX
#545212
RGB
84, 82, 18
HSL
58°, 65%, 20%
CMYK
0%, 2%, 79%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #545212; 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 #545212; background-color: #54521215; }

Alert / Toast

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

Link / Accent

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

a { color: #545212; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #545212 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

84, 82, 18

Red: 84 / Green: 82 / Blue: 18

HSL

58°, 65%, 20%

Hue: 58° / Saturation: 65% / Lightness: 20%

CMYK

0%, 2%, 79%, 67%

Cyan: 0% / Magenta: 2% / Yellow: 79% / Key: 67%

What color is #545212?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #545212 to RGB:

rgb(84, 82, 18)HEX to RGB Converter →

HEX to HSL

Convert #545212 to HSL:

hsl(58, 65%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #545212 to CMYK:

cmyk(0%, 2%, 79%, 67%)Color Converter →

Color Meaning and Usage

A dark yellow tone, #545212 has RGB (84, 82, 18) and HSL (58°, 65%, 20%). Known for evoking optimism and creativity, this orange-yellow hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #545212 is #121454, creating high-contrast pairings. For softer combinations, try analogous colors like #543112.

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

Contrast with #545212

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #545212?

#545212 is a dark yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #545212?

#545212 in RGB is (84, 82, 18) - 84 red, 82 green, and 18 blue.

How to use #545212 in CSS?

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

What colors go well with #545212?

#121454 (complementary), #543112 (analogous), and #151404 (lighter shade) work well with #545212.